Winged Shadow How High.
This commit is contained in:
+22
-1
@@ -1727,7 +1727,11 @@ void menuProcSafetySwitches(uint8_t event)
|
||||
#ifdef FRSKY
|
||||
void menuProcTelemetry(uint8_t event)
|
||||
{
|
||||
MENU("TELEMETRY", menuTabModel, e_Telemetry, 13, {0, -1, 1, 0, 1, 2, 2, -1, 1, 0, 1, 2/*, 2*/});
|
||||
#if defined FRSKY_HUB || defined WS_HOW_HIGH
|
||||
MENU("TELEMETRY", menuTabModel, e_Telemetry, 14, {0, -1, 1, 0, 1, 2, 2, -1, 1, 0, 1, 2, 2, 0});
|
||||
#else
|
||||
MENU("TELEMETRY", menuTabModel, e_Telemetry, 13, {0, -1, 1, 0, 1, 2, 2, -1, 1, 0, 1, 2, 2});
|
||||
#endif
|
||||
|
||||
int8_t sub = m_posVert;
|
||||
uint8_t blink;
|
||||
@@ -1820,6 +1824,23 @@ void menuProcTelemetry(uint8_t event)
|
||||
subN++;
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FRSKY_HUB) || defined(WS_HOW_HIGH)
|
||||
if(s_pgOfs<subN) {
|
||||
y = (subN-s_pgOfs)*FH;
|
||||
lcd_puts_P(0, y, PSTR("UsrProto"));
|
||||
#if defined(WS_HOW_HIGH)
|
||||
#define USR_PROTO_STR "NoneHub WSHH"
|
||||
#define USR_PROTO_MAX 2
|
||||
#else
|
||||
#define USR_PROTO_STR "NoneHub "
|
||||
#define USR_PROTO_MAX 1
|
||||
#endif
|
||||
lcd_putsnAtt(10*FW, y, PSTR(USR_PROTO_STR)+4*g_model.frsky.usrProto, 4, sub==subN ? INVERS:0);
|
||||
if (sub==subN)
|
||||
CHECK_INCDEC_MODELVAR(event, g_model.frsky.usrProto, 0, USR_PROTO_MAX);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user