fix(colorlcd): ACCESS receivers being lost after sync with Companion (#3355)

* fixes https://github.com/EdgeTX/edgetx/issues/3273

* empty commit to trigger checks

* Companion: moved yaml tag receivers correction to yaml parserCompanion and radio: updated comments
This commit is contained in:
Michael
2023-03-23 10:45:24 +10:00
committed by GitHub
parent c391003525
commit a7688e2b04
4 changed files with 17 additions and 1 deletions
+2 -1
View File
@@ -38,8 +38,8 @@ static void startBindWaitDialog(Window* parent, uint8_t moduleIdx,
bindInfo.candidateReceiversNames[bindInfo.selectedReceiverIndex];
memcpy(g_model.moduleData[moduleIdx].pxx2.receiverName[receiverIdx],
receiverName, PXX2_LEN_RX_NAME);
storageDirty(EE_MODEL);
bindInfo.step = BIND_OK;
setPXX2ReceiverUsed(moduleIdx, receiverIdx);
moduleState[moduleIdx].mode = MODULE_MODE_NORMAL;
new MessageDialog(parent, STR_BIND, STR_BIND_OK);
#else
@@ -161,6 +161,7 @@ void BindWaitDialog::checkEvents()
deleteLater();
if (bindInfo.step == BIND_OK) {
POPUP_INFORMATION(STR_REG_OK);
setPXX2ReceiverUsed(moduleIdx, receiverIdx);
}
return;
}