Implement Read-Only OLED Status UI

This commit is contained in:
2026-08-29 15:29:19 +02:00
parent 4aa5ca80da
commit c10e7d24a8
7 changed files with 493 additions and 6 deletions
+5
View File
@@ -17,6 +17,7 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "local_display.h"
#include "local_status_ui.h"
#define BUTTON_POLL_MS 10U
#define BUTTON_DEBOUNCE_MS 30U
@@ -412,6 +413,10 @@ static int command_display(int argc, char **argv)
print_display_usage();
return argc < 2 || argc == 2 ? 0 : 1;
}
/* Keep diagnostic output visible instead of immediately redrawing status pages. */
local_status_ui_hold_for_diagnostics();
if (strcmp(argv[1], "status") == 0) {
return command_display_status(argc - 1, argv + 1);
}