mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
HAL_ChibiOS: Fix stm32l4+ flash issue
stm32l4+ flash reset register has been reset properly
This commit is contained in:
parent
de7dd9d692
commit
49d7d0b1c4
@ -235,6 +235,8 @@ static void stm32_flash_clear_errors(void)
|
||||
#if STM32_FLASH_NBANKS > 1
|
||||
FLASH->CCR2 = ~0;
|
||||
#endif
|
||||
#elif defined (STM32L4PLUS)
|
||||
FLASH->SR = 0x0000C3FBU;
|
||||
#else
|
||||
FLASH->SR = 0xF3;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user