From: bernie Date: Sun, 17 Aug 2008 10:35:24 +0000 (+0000) Subject: timer: Amend previous commit (and Subversion sucks) X-Git-Tag: 2.0.0~289 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6a60d159530b29a6f60edbad42d0e31c1f1994d9;p=bertos.git timer: Amend previous commit (and Subversion sucks) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1645 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */