aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-08 10:07:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-08 10:07:15 +0000
commita4bea39bfe624a629a3d02b9ddba0527d431d609 (patch)
tree3575fe84abb253d4a99178321729179a05425525 /os/hal
parent72c0125a427f062165c64105bd1de8b1795de1da (diff)
downloadChibiOS-a4bea39bfe624a629a3d02b9ddba0527d431d609.tar.gz
ChibiOS-a4bea39bfe624a629a3d02b9ddba0527d431d609.tar.bz2
ChibiOS-a4bea39bfe624a629a3d02b9ddba0527d431d609.zip
Fixed an error message.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3761 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32F2xx/hal_lld.h2
-rw-r--r--os/hal/platforms/STM32F4xx/hal_lld.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32F2xx/hal_lld.h b/os/hal/platforms/STM32F2xx/hal_lld.h
index 64f68b792..5984cf3a5 100644
--- a/os/hal/platforms/STM32F2xx/hal_lld.h
+++ b/os/hal/platforms/STM32F2xx/hal_lld.h
@@ -874,7 +874,7 @@
#else /* !STM32_LSI_ENABLED */
#if STM32_RTCSEL == STM32_RTCSEL_LSI
-#error "required LSI clock is not enabled"
+#error "LSI not enabled, required by STM32_RTCSEL"
#endif
#endif /* !STM32_LSI_ENABLED */
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h
index b55a68a4e..71b0c503b 100644
--- a/os/hal/platforms/STM32F4xx/hal_lld.h
+++ b/os/hal/platforms/STM32F4xx/hal_lld.h
@@ -894,7 +894,7 @@
#else /* !STM32_LSI_ENABLED */
#if STM32_RTCSEL == STM32_RTCSEL_LSI
-#error "required LSI clock is not enabled"
+#error "LSI not enabled, required by STM32_RTCSEL"
#endif
#endif /* !STM32_LSI_ENABLED */