mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +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
|
ITEM_SETUP_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(FRSKY_STICKS)
|
#if defined(FRSKY_STICKS) && !defined(PCBTARANIS)
|
||||||
#define COL_TX_MODE 0
|
#define COL_TX_MODE 0
|
||||||
#else
|
#else
|
||||||
#define COL_TX_MODE LABEL(TX_MODE)
|
#define COL_TX_MODE LABEL(TX_MODE)
|
||||||
|
@ -582,13 +582,13 @@ void menuRadioSetup(event_t event)
|
||||||
lcdDrawTextAlignedLeft(y, NO_INDENT(STR_MODE));
|
lcdDrawTextAlignedLeft(y, NO_INDENT(STR_MODE));
|
||||||
for (uint8_t i=0; i<4; i++) {
|
for (uint8_t i=0; i<4; i++) {
|
||||||
lcdDraw1bitBitmap(5*FW+i*(4*FW+2), y, sticks, i, 0);
|
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)) {
|
if (g_eeGeneral.stickReverse & (1<<i)) {
|
||||||
lcdDrawFilledRect(5*FW+i*(4*FW+2), y, 3*FW, FH-1);
|
lcdDrawFilledRect(5*FW+i*(4*FW+2), y, 3*FW, FH-1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if defined(FRSKY_STICKS)
|
#if defined(FRSKY_STICKS) && !defined(PCBTARANIS)
|
||||||
if (attr) {
|
if (attr) {
|
||||||
s_editMode = 0;
|
s_editMode = 0;
|
||||||
CHECK_INCDEC_GENVAR(event, g_eeGeneral.stickReverse, 0, 15);
|
CHECK_INCDEC_GENVAR(event, g_eeGeneral.stickReverse, 0, 15);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue