[PXX2] SET RX SETTINGS was still sent after leaving the screen
This commit is contained in:
@@ -1952,15 +1952,16 @@ enum MenuModelReceiverOptions {
|
|||||||
|
|
||||||
void menuModelReceiverOptions(event_t event)
|
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) {
|
if (menuEvent) {
|
||||||
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||||
return;
|
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;
|
int8_t sub = menuVerticalPosition;
|
||||||
|
|
||||||
lcdDrawTextAlignedLeft(0, STR_RECEIVER_OPTIONS);
|
lcdDrawTextAlignedLeft(0, STR_RECEIVER_OPTIONS);
|
||||||
|
|||||||
Reference in New Issue
Block a user