aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/LLD/GPTM
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2018-03-12 19:04:54 +0100
committermarcoveeneman <marco-veeneman@hotmail.com>2018-03-12 19:04:54 +0100
commit32cdf41174686c78d7978d0a4232b1ac8bc0f2f6 (patch)
tree9512720f36f86dab35a0fac211fbdf047f4a224b /os/hal/ports/TIVA/LLD/GPTM
parent0b539b26b0221e70ac4db0541f92239a8cf3909d (diff)
downloadChibiOS-Contrib-32cdf41174686c78d7978d0a4232b1ac8bc0f2f6.tar.gz
ChibiOS-Contrib-32cdf41174686c78d7978d0a4232b1ac8bc0f2f6.tar.bz2
ChibiOS-Contrib-32cdf41174686c78d7978d0a4232b1ac8bc0f2f6.zip
Fixed warnings triggered by -Wundef compile option
Diffstat (limited to 'os/hal/ports/TIVA/LLD/GPTM')
-rw-r--r--os/hal/ports/TIVA/LLD/GPTM/hal_st_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/TIVA/LLD/GPTM/hal_st_lld.c b/os/hal/ports/TIVA/LLD/GPTM/hal_st_lld.c
index 7da95b8..0f9576a 100644
--- a/os/hal/ports/TIVA/LLD/GPTM/hal_st_lld.c
+++ b/os/hal/ports/TIVA/LLD/GPTM/hal_st_lld.c
@@ -74,7 +74,7 @@
#error "TIVA_ST_USE_TIMER specifies an unsupported timer"
#endif
-#if (ST_CLOCK_SRC / OSAL_ST_FREQUENCY) - 1 > 0xFFFF
+#if (TIVA_SYSCLK / OSAL_ST_FREQUENCY) - 1 > 0xFFFF
#error "the selected ST frequency is not obtainable because TIM timer prescaler limits"
#endif