X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_timer.h;h=9d8357ef500a9badac7b95ef9c4de40da7f48fac;hb=fb50d9a9ef1afffd6ababf97350b98dd5fb066ec;hp=9333e6e3a431b782418a7fa4360d2f415d76995b;hpb=e0960b1b787503b712e42776f980d792836992fd;p=bertos.git diff --git a/bertos/cfg/cfg_timer.h b/bertos/cfg/cfg_timer.h index 9333e6e3..9d8357ef 100644 --- a/bertos/cfg/cfg_timer.h +++ b/bertos/cfg/cfg_timer.h @@ -46,4 +46,10 @@ /// Debug timer interrupt using a strobe pin. #define CONFIG_TIMER_STROBE 0 +/// Enable asynchronous timers +#define CONFIG_TIMER_EVENTS 1 + +/// Support hi-res timer_usleep() +#define CONFIG_TIMER_UDELAY 1 + #endif /* CFG_TIMER_H */