Heartbeat displayed on X10

This commit is contained in:
Bertrand Songis
2019-07-15 17:49:43 +02:00
parent 2ed437f86c
commit b369971108
9 changed files with 211 additions and 17 deletions
+12
View File
@@ -166,9 +166,21 @@ bool menuStatsDebug(event_t event)
y += FH;
#endif
#if defined(DEBUG_LATENCY)
lcdDrawText(MENUS_MARGIN_LEFT, y, "Hearbeat");
if (heartbeatCapture.valid)
lcdDrawNumber(MENU_STATS_COLUMN1, y, heartbeatCapture.count, LEFT);
else
lcdDrawText(MENU_STATS_COLUMN1, y, "---");
y += FH;
#endif
#if 0
// TODO in a debug mode?
lcdDrawText(MENUS_MARGIN_LEFT, y, "Telem RX Errs");
lcdDrawNumber(MENU_STATS_COLUMN1, y, telemetryErrors, LEFT);
y += FH;
#endif
#if defined(INTERNAL_GPS)
lcdDrawText(MENUS_MARGIN_LEFT, y, "Internal GPS");