1
0
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:
zedamota 2011-05-14 19:03:31 +01:00
parent dbf8a77a94
commit a38fbe6cea

View File

@ -92,6 +92,7 @@ void OpenPilotInit()
#ifdef ERASE_FLASH
PIOS_Flash_W25X_EraseChip();
while(TRUE){};
#endif
/* Initialize modules */