diff options
-rw-r--r-- | libmaple/stm32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/stm32.h b/libmaple/stm32.h index 21c18df..985b941 100644 --- a/libmaple/stm32.h +++ b/libmaple/stm32.h @@ -5,8 +5,12 @@ #ifndef _STM32_H_ #define _STM32_H_ +#ifndef PCLK1 #define PCLK1 36000000U +#endif +#ifndef PCLK2 #define PCLK2 72000000U +#endif #ifdef STM32_MEDIUM_DENSITY #define NR_INTERRUPTS 43 |