diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-07-26 13:27:29 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-07-26 13:27:29 +0000 |
commit | 2120bb8b4e0be9418b98c92ab2d42064bb8efe3c (patch) | |
tree | 8d690a211972a87e27b577735373ad7f945aacb5 /os/nil | |
parent | 1437e590d75a23b57a5d613bf037bb1f07d082d5 (diff) | |
download | ChibiOS-2120bb8b4e0be9418b98c92ab2d42064bb8efe3c.tar.gz ChibiOS-2120bb8b4e0be9418b98c92ab2d42064bb8efe3c.tar.bz2 ChibiOS-2120bb8b4e0be9418b98c92ab2d42064bb8efe3c.zip |
[AVR] Enable tickless usage for NIL
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7102 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/nil')
-rw-r--r-- | os/nil/ports/AVR/nilcore_timer.h | 6 |
1 files changed, 1 insertions, 5 deletions
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_ */
|