From 516e62688abae58280f543ce6113c36355e2b692 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Mon, 9 Sep 2019 10:07:53 +0200 Subject: [PATCH] cpu/stm32_common: fix STM32F7 CLOCK_LSI definition --- cpu/stm32_common/include/periph_cpu_common.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cpu/stm32_common/include/periph_cpu_common.h b/cpu/stm32_common/include/periph_cpu_common.h index e7ff4fffd0..d67ee035b7 100644 --- a/cpu/stm32_common/include/periph_cpu_common.h +++ b/cpu/stm32_common/include/periph_cpu_common.h @@ -33,11 +33,10 @@ extern "C" { #if defined(CPU_FAM_STM32F0) || defined (CPU_FAM_STM32F1) || \ defined(CPU_FAM_STM32F3) #define CLOCK_LSI (40000U) -#elif defined(CPU_FAM_STM32F7) || defined(CPU_FAM_STM32L0) || \ - defined(CPU_FAM_STM32L1) +#elif defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1) #define CLOCK_LSI (37000U) #elif defined(CPU_FAM_STM32F2) || defined(CPU_FAM_STM32F4) || \ - defined(CPU_FAM_STM32L4) + defined(CPU_FAM_STM32F7) || defined(CPU_FAM_STM32L4) #define CLOCK_LSI (32000U) #else #error "error: LSI clock speed not defined for your target CPU"