mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Cosmetics
This commit is contained in:
parent
ae0781f6d7
commit
75c5cb1c96
1 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ void onUpdateConfirmation(const char * result)
|
|||
}
|
||||
}
|
||||
|
||||
void onBindStateChanged()
|
||||
void onUpdateStateChanged()
|
||||
{
|
||||
if (reusableBuffer.sdManager.otaInformation.step == BIND_INFO_REQUEST) {
|
||||
POPUP_CONFIRMATION(PXX2receiversModels[reusableBuffer.sdManager.otaInformation.receiverInformation.modelID], onUpdateConfirmation);
|
||||
|
@ -198,7 +198,7 @@ void onSdManagerMenu(const char * result)
|
|||
}
|
||||
else if (result == STR_FLASH_RECEIVER_OTA) {
|
||||
getSelectionFullPath(lfn);
|
||||
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaInformation, onBindStateChanged);
|
||||
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaInformation, onUpdateStateChanged);
|
||||
}
|
||||
#endif
|
||||
#if defined(LUA)
|
||||
|
@ -216,7 +216,7 @@ void onUpdateReceiverSelection(const char * result)
|
|||
reusableBuffer.sdManager.otaInformation.step = BIND_INFO_REQUEST;
|
||||
#if defined(SIMU)
|
||||
reusableBuffer.sdManager.otaInformation.receiverInformation.modelID = 0x01;
|
||||
onBindStateChanged();
|
||||
onUpdateStateChanged();
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue