* big refactor of the 'display' object. Now defined in variants/*/target modules.

This commit is contained in:
Scott Powell 2025-05-19 14:16:55 +10:00
parent bc4e0b52fa
commit a73eb9823d
43 changed files with 210 additions and 58 deletions

View file

@ -60,10 +60,6 @@
#endif
#ifdef DISPLAY_CLASS
#include <helpers/ui/SSD1306Display.h>
static DISPLAY_CLASS display;
#include "UITask.h"
static UITask ui_task(display);
#endif
@ -735,7 +731,7 @@ void setup() {
board.begin();
#ifdef DISPLAY_CLASS
if(display.begin()){
if (display.begin()) {
display.startFrame();
display.print("Please wait...");
display.endFrame();