Display stick type when applicable

(cherry picked from commit daedeed)
This commit is contained in:
Kilrah
2018-07-05 08:44:39 +02:00
committed by 3djc
parent ec49fb9e49
commit 1dd3aadbd8
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -110,4 +110,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;
}