Compilation fix

This commit is contained in:
Kilrah
2019-05-15 22:15:41 +02:00
parent 2b81b10815
commit 690e59e093
@@ -206,12 +206,14 @@ void onSdManagerMenu(const char * result)
bluetooth.flashFirmware(lfn);
}
#endif
#if defined(PXX2)
else if (result == STR_FLASH_RECEIVER_OTA) {
memclear(&reusableBuffer.sdManager.otaUpdateInformation, sizeof(OtaUpdateInformation));
getSelectionFullPath(reusableBuffer.sdManager.otaUpdateInformation.filename);
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaUpdateInformation, onUpdateStateChanged);
}
#endif
#endif
#if defined(LUA)
else if (result == STR_EXECUTE_FILE) {
getSelectionFullPath(lfn);