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

Tento commit je obsažen v:
Scott Powell
2025-03-05 12:52:29 +11:00
rodič 372c228210
revize c2ae34314e
7 změnil soubory, kde provedl 242 přidání a 2 odebrání
+18
Zobrazit soubor
@@ -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();
};