mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-08 10:38:44 +08:00
Tools: make HAL_FLASH_PROTECTION a boolean, stop checking for definition
This commit is contained in:
1 parent
ecde9f8c3f
commit
18f3a6bc69
1 file changed
+1
-1
@@ -77,7 +77,7 @@ int main(void)
|
||||
AFIO->MAPR = mapr | AFIO_MAPR_CAN_REMAP_REMAP2 | AFIO_MAPR_SPI3_REMAP;
|
||||
#endif
|
||||
|
||||
#ifdef HAL_FLASH_PROTECTION
|
||||
#if HAL_FLASH_PROTECTION
|
||||
stm32_flash_unprotect_flash();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user