Compilation fix
This commit is contained in:
@@ -206,12 +206,14 @@ void onSdManagerMenu(const char * result)
|
|||||||
bluetooth.flashFirmware(lfn);
|
bluetooth.flashFirmware(lfn);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(PXX2)
|
||||||
else if (result == STR_FLASH_RECEIVER_OTA) {
|
else if (result == STR_FLASH_RECEIVER_OTA) {
|
||||||
memclear(&reusableBuffer.sdManager.otaUpdateInformation, sizeof(OtaUpdateInformation));
|
memclear(&reusableBuffer.sdManager.otaUpdateInformation, sizeof(OtaUpdateInformation));
|
||||||
getSelectionFullPath(reusableBuffer.sdManager.otaUpdateInformation.filename);
|
getSelectionFullPath(reusableBuffer.sdManager.otaUpdateInformation.filename);
|
||||||
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaUpdateInformation, onUpdateStateChanged);
|
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaUpdateInformation, onUpdateStateChanged);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#if defined(LUA)
|
#if defined(LUA)
|
||||||
else if (result == STR_EXECUTE_FILE) {
|
else if (result == STR_EXECUTE_FILE) {
|
||||||
getSelectionFullPath(lfn);
|
getSelectionFullPath(lfn);
|
||||||
|
|||||||
Reference in New Issue
Block a user