aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-04-05 18:32:13 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-04-05 18:32:13 +0000
commitc7caadf519543359e5f138d010201fb933c57d88 (patch)
tree34cc24ee98bfad231957a355528629b544367de5
parent9a6be97248aa2a8c0de65cefa85051f3f810e833 (diff)
downloadChibiOS-c7caadf519543359e5f138d010201fb933c57d88.tar.gz
ChibiOS-c7caadf519543359e5f138d010201fb933c57d88.tar.bz2
ChibiOS-c7caadf519543359e5f138d010201fb933c57d88.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10142 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
index 24d8a8107..f1cbae0f3 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
@@ -1081,8 +1081,8 @@
*/
#if (STM32_LPTIM1SEL == STM32_LPTIM1SEL_APB) || defined(__DOXYGEN__)
#define STM32_LPTIM1CLK STM32_PCLK1
-#elif STM32_LPTIM1SEL == STM32_LPTIM1SEL_SYSCLK
-#define STM32_LPTIM1CLK STM32_SYSCLK
+#elif STM32_LPTIM1SEL == STM32_LPTIM1SEL_LSI
+#define STM32_LPTIM1CLK STM32_LSICLK
#elif STM32_LPTIM1SEL == STM32_LPTIM1SEL_HSI16
#define STM32_LPTIM1CLK STM32_HSI16CLK
#elif STM32_LPTIM1SEL == STM32_LPTIM1SEL_LSE