From 2120bb8b4e0be9418b98c92ab2d42064bb8efe3c Mon Sep 17 00:00:00 2001 From: utzig Date: Sat, 26 Jul 2014 13:27:29 +0000 Subject: [AVR] Enable tickless usage for NIL git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7102 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/ports/AVR/nilcore_timer.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'os/nil/ports/AVR') diff --git a/os/nil/ports/AVR/nilcore_timer.h b/os/nil/ports/AVR/nilcore_timer.h index c891f5e7b..33076fd24 100644 --- a/os/nil/ports/AVR/nilcore_timer.h +++ b/os/nil/ports/AVR/nilcore_timer.h @@ -29,7 +29,7 @@ #define _NILCORE_TIMER_H_ /* This is the only header in the HAL designed to be include-able alone.*/ -/*#include "st.h"*/ +#include "st.h" /*===========================================================================*/ /* Module constants. */ @@ -43,8 +43,6 @@ /* Derived constants and error checks. */ /*===========================================================================*/ -#error "tickless mode not yet implemented in AVR port" - /*===========================================================================*/ /* Module data structures and types. */ /*===========================================================================*/ @@ -61,7 +59,6 @@ /* Module inline functions. */ /*===========================================================================*/ -#if 0 /** * @brief Starts the alarm. * @note Makes sure that no spurious alarms are triggered after @@ -121,7 +118,6 @@ static inline systime_t port_timer_get_alarm(void) { return stGetAlarm(); } -#endif #endif /* _NILCORE_TIMER_H_ */ -- cgit v1.2.3