mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-05-14 21:15:14 +00:00
* big refactor of the 'display' object. Now defined in variants/*/target modules.
This commit is contained in:
@@ -68,10 +68,6 @@
|
||||
#endif
|
||||
|
||||
#ifdef DISPLAY_CLASS
|
||||
#include <helpers/ui/SSD1306Display.h>
|
||||
|
||||
static DISPLAY_CLASS display;
|
||||
|
||||
#include "UITask.h"
|
||||
static UITask ui_task(display);
|
||||
#endif
|
||||
@@ -909,7 +905,7 @@ void setup() {
|
||||
board.begin();
|
||||
|
||||
#ifdef DISPLAY_CLASS
|
||||
if(display.begin()){
|
||||
if (display.begin()) {
|
||||
display.startFrame();
|
||||
display.print("Please wait...");
|
||||
display.endFrame();
|
||||
|
||||
Reference in New Issue
Block a user