From 82280b6a8d0dc7b155136d40728e6ffcc8529ac4 Mon Sep 17 00:00:00 2001 From: Martin Luessi Date: Thu, 1 Jun 2023 16:03:27 -0700 Subject: [PATCH] AP_HAL_ChibiOS: Rename STM32_FORCE_CLOCK_INIT to HAL_FORCE_CLOCK_INIT --- libraries/AP_HAL_ChibiOS/hwdef/common/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/board.c b/libraries/AP_HAL_ChibiOS/hwdef/common/board.c index 9e574ce3e8..61318595eb 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/board.c +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/board.c @@ -236,7 +236,7 @@ void __early_init(void) { #if !defined(STM32F1) stm32_gpio_init(); #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 stm32_clock_init(); #endif