diff options
Diffstat (limited to 'os/hal/ports/NRF51/NRF51822/st_lld.h')
-rw-r--r-- | os/hal/ports/NRF51/NRF51822/st_lld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/NRF51/NRF51822/st_lld.h b/os/hal/ports/NRF51/NRF51822/st_lld.h index 54f7aae..c6cf201 100644 --- a/os/hal/ports/NRF51/NRF51822/st_lld.h +++ b/os/hal/ports/NRF51/NRF51822/st_lld.h @@ -67,7 +67,7 @@ #endif
#if OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING
-#if CH_CFG_ST_TIMEDELTA < 5
+#if defined(CH_CFG_ST_TIMEDELTA) && (CH_CFG_ST_TIMEDELTA < 5)
#error "CH_CFG_ST_TIMEDELTA is too low"
#endif
#if NRF51_SYSTEM_TICKS == NRF51_SYSTEM_TICKS_AS_TIMER
|