AP_HAL_ChibiOS: Rename STM32_FORCE_CLOCK_INIT to HAL_FORCE_CLOCK_INIT

This commit is contained in:
Martin Luessi 2023-06-01 16:03:27 -07:00 committed by Peter Barker
parent 350dfc235e
commit 82280b6a8d
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ void __early_init(void) {
#if !defined(STM32F1) #if !defined(STM32F1)
stm32_gpio_init(); stm32_gpio_init();
#endif #endif
#if !HAL_XIP_ENABLED || defined(STM32_FORCE_CLOCK_INIT) #if !HAL_XIP_ENABLED || defined(HAL_FORCE_CLOCK_INIT)
// if running from external flash then the clocks must not be reset - instead rely on the bootloader to setup // if running from external flash then the clocks must not be reset - instead rely on the bootloader to setup
stm32_clock_init(); stm32_clock_init();
#endif #endif