aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/TM4C123x
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/TM4C123x
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/TM4C123x')
-rw-r--r--os/hal/ports/TIVA/TM4C123x/hal_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/TIVA/TM4C123x/hal_lld.h b/os/hal/ports/TIVA/TM4C123x/hal_lld.h
index 5937b88..5d38a67 100644
--- a/os/hal/ports/TIVA/TM4C123x/hal_lld.h
+++ b/os/hal/ports/TIVA/TM4C123x/hal_lld.h
@@ -203,7 +203,7 @@
#error "Invalid value for TIVA_BYPASS_VALUE defined"
#endif
-#if (TIVA_OSCSRC == TIVA_RCC_OSCSRC_MOSC) && (TIVA_MOSC_ENABLE == FALSE)
+#if (TIVA_OSCSRC == SYSCTL_RCC2_OSCSRC2_MO) && (TIVA_MOSC_ENABLE == FALSE)
#error "Main Oscillator selected but not enabled"
#endif