mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Display stick type when applicable
This commit is contained in:
parent
5dd0ac75bc
commit
daedeed8d7
2 changed files with 8 additions and 0 deletions
|
@ -127,4 +127,8 @@ void menuRadioDiagAnalogs(event_t event)
|
|||
if (menuVerticalPosition==TEMP_CALIB_MENU_POS)
|
||||
CHECK_INCDEC_GENVAR(event, g_eeGeneral.temperatureCalib, -100, 100);
|
||||
#endif
|
||||
|
||||
#if (NUM_PWMSTICKS > 0) && !defined(SIMU)
|
||||
lcdDrawTextAlignedLeft(7*FH, STICKS_PWM_ENABLED() ? "Sticks: PWM" : "Sticks: ANA");
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -185,6 +185,10 @@ bool menuStatsAnalogs(event_t event)
|
|||
lcdDrawNumber(LCD_W/2 + MENUS_MARGIN_LEFT+100, MENU_CONTENT_TOP+7*FH, telemetryData.xjtVersion);
|
||||
}
|
||||
|
||||
#if (NUM_PWMSTICKS > 0) && !defined(SIMU)
|
||||
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP+8*FH, STICKS_PWM_ENABLED() ? "Sticks: PWM" : "Sticks: ANA");
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue