1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

Some cleanups

This commit is contained in:
3djc 2019-02-18 14:00:51 +01:00
parent 23fe09aceb
commit bc5c3587d8
4 changed files with 8 additions and 9 deletions

View file

@ -1235,7 +1235,7 @@ void menuModelSetup(event_t event)
s_editMode = 0;
}
if (reusableBuffer.modelSetup.pxx2.bindStep == BIND_OK) {
memcpy(g_model.moduleData[INTERNAL_MODULE].pxx2.receivers[receiverIdx].rxName, reusableBuffer.modelSetup.pxx2.bindCandidateReceiversIds[reusableBuffer.modelSetup.pxx2.bindSelectedReceiverIndex], PXX2_LEN_RX_NAME);
memcpy(g_model.moduleData[INTERNAL_MODULE].pxx2.receivers[receiverIdx].rxName, reusableBuffer.modelSetup.pxx2.bindCandidateReceiversNames[reusableBuffer.modelSetup.pxx2.bindSelectedReceiverIndex], PXX2_LEN_RX_NAME);
}
}
else if (menuHorizontalPosition == 1 && s_editMode > 0) {