Cosmetics
This commit is contained in:
@@ -95,7 +95,7 @@ void onUpdateConfirmation(const char * result)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void onBindStateChanged()
|
void onUpdateStateChanged()
|
||||||
{
|
{
|
||||||
if (reusableBuffer.sdManager.otaInformation.step == BIND_INFO_REQUEST) {
|
if (reusableBuffer.sdManager.otaInformation.step == BIND_INFO_REQUEST) {
|
||||||
POPUP_CONFIRMATION(PXX2receiversModels[reusableBuffer.sdManager.otaInformation.receiverInformation.modelID], onUpdateConfirmation);
|
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) {
|
else if (result == STR_FLASH_RECEIVER_OTA) {
|
||||||
getSelectionFullPath(lfn);
|
getSelectionFullPath(lfn);
|
||||||
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaInformation, onBindStateChanged);
|
moduleState[EXTERNAL_MODULE].startBind(&reusableBuffer.sdManager.otaInformation, onUpdateStateChanged);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if defined(LUA)
|
#if defined(LUA)
|
||||||
@@ -216,7 +216,7 @@ void onUpdateReceiverSelection(const char * result)
|
|||||||
reusableBuffer.sdManager.otaInformation.step = BIND_INFO_REQUEST;
|
reusableBuffer.sdManager.otaInformation.step = BIND_INFO_REQUEST;
|
||||||
#if defined(SIMU)
|
#if defined(SIMU)
|
||||||
reusableBuffer.sdManager.otaInformation.receiverInformation.modelID = 0x01;
|
reusableBuffer.sdManager.otaInformation.receiverInformation.modelID = 0x01;
|
||||||
onBindStateChanged();
|
onUpdateStateChanged();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user