Display stick type when applicable

This commit is contained in:
Kilrah
2018-07-02 12:29:54 +02:00
parent 5dd0ac75bc
commit daedeed8d7
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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;
}