mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 09:15:38 +03:00
X7 simu compilation
This commit is contained in:
parent
97b777ae4f
commit
6a2a730cdc
1 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ enum MenuRadioSetupItems {
|
|||
ITEM_SETUP_MAX
|
||||
};
|
||||
|
||||
#if defined(FRSKY_STICKS)
|
||||
#if defined(FRSKY_STICKS) && !defined(PCBTARANIS)
|
||||
#define COL_TX_MODE 0
|
||||
#else
|
||||
#define COL_TX_MODE LABEL(TX_MODE)
|
||||
|
@ -582,13 +582,13 @@ void menuRadioSetup(event_t event)
|
|||
lcdDrawTextAlignedLeft(y, NO_INDENT(STR_MODE));
|
||||
for (uint8_t i=0; i<4; i++) {
|
||||
lcdDraw1bitBitmap(5*FW+i*(4*FW+2), y, sticks, i, 0);
|
||||
#if defined(FRSKY_STICKS)
|
||||
#if defined(FRSKY_STICKS) && !defined(PCBTARANIS)
|
||||
if (g_eeGeneral.stickReverse & (1<<i)) {
|
||||
lcdDrawFilledRect(5*FW+i*(4*FW+2), y, 3*FW, FH-1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#if defined(FRSKY_STICKS)
|
||||
#if defined(FRSKY_STICKS) && !defined(PCBTARANIS)
|
||||
if (attr) {
|
||||
s_editMode = 0;
|
||||
CHECK_INCDEC_GENVAR(event, g_eeGeneral.stickReverse, 0, 15);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue