mirror of https://github.com/ArduPilot/ardupilot
Tools: make HAL_FLASH_PROTECTION a boolean, stop checking for definition
This commit is contained in:
parent
ecde9f8c3f
commit
18f3a6bc69
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue