diff options
Diffstat (limited to 'os/rt')
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_timer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/ports/ARMCMx/chcore_timer.h b/os/rt/ports/ARMCMx/chcore_timer.h index 1a0f98ac0..e0cacabdd 100644 --- a/os/rt/ports/ARMCMx/chcore_timer.h +++ b/os/rt/ports/ARMCMx/chcore_timer.h @@ -29,13 +29,13 @@ #ifndef _CHCORE_TIMER_H_
#define _CHCORE_TIMER_H_
-#if defined(CH_PORT_DO_NOT_USE_ST)
+#if defined(PORT_DO_NOT_USE_ST)
/* If, for some reason, the use of the HAL-provided ST timer port interface
is not wanted, it is possible to provide the timer interface into a custom
module.*/
#include "chcore_timer_ext.h"
-#else /* !defined(CH_PORT_DO_NOT_USE_ST) */
+#else /* !defined(PORT_DO_NOT_USE_ST) */
/* This is the only header in the HAL designed to be include-able alone.*/
#include "st.h"
@@ -128,7 +128,7 @@ static inline systime_t port_timer_get_alarm(void) { return stGetAlarm();
}
-#endif /* !defined(CH_PORT_DO_NOT_USE_ST) */
+#endif /* !defined(PORT_DO_NOT_USE_ST) */
#endif /* _CHCORE_TIMER_H_ */
|