mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Make CopterControl firmware non functional when using the ERASE_FLASH=YES compile flag
This commit is contained in:
parent
dbf8a77a94
commit
a38fbe6cea
@ -92,6 +92,7 @@ void OpenPilotInit()
|
|||||||
|
|
||||||
#ifdef ERASE_FLASH
|
#ifdef ERASE_FLASH
|
||||||
PIOS_Flash_W25X_EraseChip();
|
PIOS_Flash_W25X_EraseChip();
|
||||||
|
while(TRUE){};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize modules */
|
/* Initialize modules */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user