X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftimer.h;h=a71dfb68a852e5dd2eaabec288347299472b2849;hb=c5b08a9d703fc91f41d323011f77cf36eb27eeb2;hp=f251ff82e697c0645db73962850a84a73922e2fb;hpb=3b9a407e4f8ed59e5d31f3e5abe395e5d7129500;p=bertos.git diff --git a/bertos/drv/timer.h b/bertos/drv/timer.h index f251ff82..a71dfb68 100644 --- a/bertos/drv/timer.h +++ b/bertos/drv/timer.h @@ -178,13 +178,15 @@ INLINE utime_t hptime_to_us(hptime_t hpticks) #endif /* TIMER_HW_HPTICKS_PER_SEC < 100000UL */ } - -void timer_init(void); void timer_delayTicks(ticks_t delay); INLINE void timer_delay(mtime_t delay) { timer_delayTicks(ms_to_ticks(delay)); } + +void timer_init(void); +void timer_cleanup(void); + int timer_testSetup(void); int timer_testRun(void); int timer_testTearDown(void);