mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_HAL_ChibiOS: Rename STM32_FORCE_CLOCK_INIT to HAL_FORCE_CLOCK_INIT
This commit is contained in:
parent
350dfc235e
commit
82280b6a8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user