* companion: SSD1306 display now dynamically detected at runtime.

This commit is contained in:
Scott Powell
2025-03-16 13:42:36 +11:00
parent 4113b20b4c
commit 81bf4f0a08
5 changed files with 50 additions and 16 deletions

View File

@@ -25,7 +25,8 @@ static const uint8_t meshcore_logo [] PROGMEM = {
0xe3, 0xe3, 0x8f, 0xff, 0x1f, 0xfc, 0x3c, 0x0e, 0x1f, 0xf8, 0xff, 0xf8, 0x70, 0x3c, 0x7f, 0xf8,
};
void UITask::begin(const char* node_name, const char* build_date, uint32_t pin_code) {
void UITask::begin(DisplayDriver* display, const char* node_name, const char* build_date, uint32_t pin_code) {
_display = display;
_auto_off = millis() + AUTO_OFF_MILLIS;
clearMsgPreview();
_node_name = node_name;