1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

[PXX2] Fixes

This commit is contained in:
Bertrand Songis 2019-03-18 11:48:58 +01:00
parent 2e81b2ca50
commit 16d84391bb
4 changed files with 5 additions and 5 deletions

View file

@ -1379,7 +1379,7 @@ void menuModelSetup(event_t event)
// for now we will send the SHARE frame indefinitely (until the user manually stops it)
if (event == EVT_KEY_BREAK(KEY_ENTER)) {
moduleSettings[moduleIdx].mode ^= MODULE_MODE_SHARE;
reusableBuffer.moduleSetup.pxx2.shareReceiverIndex = receiverIdx;
reusableBuffer.moduleSetup.pxx2.shareReceiverId = receiverSlot;
}
else if (event == EVT_KEY_BREAK(KEY_EXIT)) {
moduleSettings[moduleIdx].mode &= ~MODULE_MODE_SHARE;