mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 12:55:12 +03:00
OTA update continued
This commit is contained in:
parent
6e8b64cea4
commit
1cd8c93455
2 changed files with 3 additions and 8 deletions
|
@ -176,8 +176,8 @@ void onSdManagerMenu(const char * result)
|
|||
}
|
||||
else if (result == STR_FLASH_RECEIVER_OTA) {
|
||||
getSelectionFullPath(lfn);
|
||||
moduleState[EXTERNAL_MODULE].mode = MODULE_MODE_BIND;
|
||||
// TODO
|
||||
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaInformation);
|
||||
|
||||
}
|
||||
#endif
|
||||
#if defined(LUA)
|
||||
|
|
|
@ -1178,12 +1178,7 @@ union ReusableBuffer
|
|||
uint16_t offset;
|
||||
uint16_t count;
|
||||
char originalName[SD_SCREEN_FILE_LENGTH+1];
|
||||
struct {
|
||||
uint8_t step;
|
||||
char candidateReceiversNames[PXX2_MAX_RECEIVERS_PER_MODULE][PXX2_LEN_RX_NAME + 1];
|
||||
uint8_t candidateReceiversCount;
|
||||
uint8_t receiverIndex;
|
||||
} otaUpdate;
|
||||
BindInformation otaInformation;
|
||||
} sdManager;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue