* basic UITask added to repeater and room server (only HeltecV3 targets enable so far)

This commit is contained in:
Scott Powell committed 2025-03-05 12:52:29 +11:00
1 parent 6bc5946661
commit ea6f0bfaa5
7 files changed
+242 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#pragma once
#include <helpers/ui/DisplayDriver.h>
class UITask {
DisplayDriver* _display;
unsigned long _next_read, _next_refresh, _auto_off;
int _prevBtnState;
const char* _node_name;
const char* _build_date;
void renderCurrScreen();
public:
UITask(DisplayDriver& display) : _display(&display) { _next_read = _next_refresh = 0; }
void begin(const char* node_name, const char* build_date);
void loop();
};