[AVR] Enable tickless usage for NIL
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7102 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
1437e590d7
commit
2120bb8b4e
|
@ -29,7 +29,7 @@
|
||||||
#define _NILCORE_TIMER_H_
|
#define _NILCORE_TIMER_H_
|
||||||
|
|
||||||
/* This is the only header in the HAL designed to be include-able alone.*/
|
/* This is the only header in the HAL designed to be include-able alone.*/
|
||||||
/*#include "st.h"*/
|
#include "st.h"
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module constants. */
|
/* Module constants. */
|
||||||
|
@ -43,8 +43,6 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#error "tickless mode not yet implemented in AVR port"
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Module data structures and types. */
|
/* Module data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -61,7 +59,6 @@
|
||||||
/* Module inline functions. */
|
/* Module inline functions. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if 0
|
|
||||||
/**
|
/**
|
||||||
* @brief Starts the alarm.
|
* @brief Starts the alarm.
|
||||||
* @note Makes sure that no spurious alarms are triggered after
|
* @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();
|
return stGetAlarm();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _NILCORE_TIMER_H_ */
|
#endif /* _NILCORE_TIMER_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue