mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 23:35:17 +03:00
[PXX2] SET RX SETTINGS was still sent after leaving the screen
This commit is contained in:
parent
587135bf0a
commit
cee4fe6ac9
1 changed files with 5 additions and 4 deletions
|
@ -1952,15 +1952,16 @@ enum MenuModelReceiverOptions {
|
|||
|
||||
void menuModelReceiverOptions(event_t event)
|
||||
{
|
||||
const int lim = (g_model.extendedLimits ? (512 * LIMIT_EXT_PERCENT / 100) : 512) * 2;
|
||||
uint8_t wbar = LCD_W / 2 - 20;
|
||||
|
||||
SIMPLE_SUBMENU_NOTITLE(ITEM_RECEIVER_PINMAP_FIRST + sentModuleChannels(g_moduleIdx));
|
||||
|
||||
if (menuEvent) {
|
||||
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||
return;
|
||||
}
|
||||
|
||||
const int lim = (g_model.extendedLimits ? (512 * LIMIT_EXT_PERCENT / 100) : 512) * 2;
|
||||
uint8_t wbar = LCD_W / 2 - 20;
|
||||
|
||||
SIMPLE_SUBMENU_NOTITLE(ITEM_RECEIVER_PINMAP_FIRST + sentModuleChannels(g_moduleIdx));
|
||||
int8_t sub = menuVerticalPosition;
|
||||
|
||||
lcdDrawTextAlignedLeft(0, STR_RECEIVER_OPTIONS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue