From 6a60d159530b29a6f60edbad42d0e31c1f1994d9 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 17 Aug 2008 10:35:24 +0000 Subject: [PATCH] timer: Amend previous commit (and Subversion sucks) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1645 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_timer.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- 2.25.1