mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
[PXX2] Share frame sent
This commit is contained in:
parent
1aed951571
commit
eb64bc85e7
3 changed files with 8 additions and 13 deletions
|
@ -1361,11 +1361,10 @@ void menuModelSetup(event_t event)
|
|||
}
|
||||
else {
|
||||
if (event == EVT_KEY_BREAK(KEY_ENTER)) {
|
||||
moduleSettings[moduleIdx].mode ^= MODULE_MODE_SHARE;
|
||||
moduleSettings[moduleIdx].mode = MODULE_MODE_SHARE;
|
||||
reusableBuffer.moduleSetup.pxx2.shareReceiverIndex = receiverIdx;
|
||||
}
|
||||
if (moduleSettings[moduleIdx].mode == MODULE_MODE_NORMAL) {
|
||||
s_editMode = 0;
|
||||
POPUP_INFORMATION("Model shared");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1373,7 +1372,7 @@ void menuModelSetup(event_t event)
|
|||
break;
|
||||
#endif
|
||||
#if defined(PCBSKY9X)
|
||||
case ITEM_MODEL_EXTRA_MODULE_BIND:
|
||||
case ITEM_MODEL_EXTRA_MODULE_BIND:
|
||||
#endif
|
||||
#if defined(PCBTARANIS)
|
||||
case ITEM_MODEL_INTERNAL_MODULE_NPXX2_BIND:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue