mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +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);
|
||||
}
|
||||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue