Initial add of status screen

Initial add of the status screen.

TODO:
- Get status of the BT Radio
- Display something on line 3
This commit is contained in:
Jm Casler
2020-09-05 09:30:18 -07:00
parent c5ffebc498
commit f41a77c46d
3 changed files with 97 additions and 2 deletions

View File

@@ -45,6 +45,8 @@ class DebugInfo
/// Renders the debug screen.
void drawFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
void drawFrameSettings(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
std::string channelName;
@@ -216,6 +218,8 @@ class Screen : public concurrency::PeriodicTask
/// Called when debug screen is to be drawn, calls through to debugInfo.drawFrame.
static void drawDebugInfoTrampoline(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
static void drawDebugInfoSettingsTrampoline(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y);
/// Queue of commands to execute in doTask.
TypedQueue<ScreenCmd> cmdQueue;
/// Whether we are using a display