More infos in statistics moved to DEBUG mode
This commit is contained in:
@@ -160,7 +160,7 @@ bool menuStatsDebug(event_t event)
|
|||||||
y += FH;
|
y += FH;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(DISK_CACHE)
|
#if defined(DISK_CACHE) && defined(DEBUG)
|
||||||
lcdDrawText(MENUS_MARGIN_LEFT, y, "SD cache hits");
|
lcdDrawText(MENUS_MARGIN_LEFT, y, "SD cache hits");
|
||||||
lcdDrawNumber(MENU_STATS_COLUMN1, y, diskCache.getHitRate(), PREC1|LEFT, 0, NULL, "%");
|
lcdDrawNumber(MENU_STATS_COLUMN1, y, diskCache.getHitRate(), PREC1|LEFT, 0, NULL, "%");
|
||||||
y += FH;
|
y += FH;
|
||||||
@@ -175,8 +175,7 @@ bool menuStatsDebug(event_t event)
|
|||||||
y += FH;
|
y += FH;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if defined(DEBUG)
|
||||||
// TODO in a debug mode?
|
|
||||||
lcdDrawText(MENUS_MARGIN_LEFT, y, "Telem RX Errs");
|
lcdDrawText(MENUS_MARGIN_LEFT, y, "Telem RX Errs");
|
||||||
lcdDrawNumber(MENU_STATS_COLUMN1, y, telemetryErrors, LEFT);
|
lcdDrawNumber(MENU_STATS_COLUMN1, y, telemetryErrors, LEFT);
|
||||||
y += FH;
|
y += FH;
|
||||||
|
|||||||
Reference in New Issue
Block a user