mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-26 09:45:16 +03:00
Compilation fix
This commit is contained in:
parent
2b81b10815
commit
690e59e093
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue