mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +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
|
||||
PIOS_Flash_W25X_EraseChip();
|
||||
while(TRUE){};
|
||||
#endif
|
||||
|
||||
/* Initialize modules */
|
||||
|
Loading…
x
Reference in New Issue
Block a user