fix stuff i somehow inadvertently broke.

This commit is contained in:
Thomas Göttgens 2023-03-08 16:14:51 +01:00
parent 944d5066e9
commit 9150c2e568
4 changed files with 4 additions and 5 deletions

View File

@ -944,7 +944,6 @@ void Screen::setup()
dispdev.setSubtype(7); dispdev.setSubtype(7);
#endif #endif
// Initialising the UI will init the display too. // Initialising the UI will init the display too.
ui.init(); ui.init();

View File

@ -4,6 +4,7 @@
#if !HAS_SCREEN #if !HAS_SCREEN
#include "power.h" #include "power.h"
#include <OLEDDisplay.h>
namespace graphics namespace graphics
{ {
// Noop class for boards without screen. // Noop class for boards without screen.
@ -24,7 +25,6 @@ class Screen
void startFirmwareUpdateScreen() {} void startFirmwareUpdateScreen() {}
}; };
} // namespace graphics } // namespace graphics
#else #else
#include <cstring> #include <cstring>

View File

@ -8,11 +8,11 @@
#include "mesh/generated/meshtastic/cannedmessages.pb.h" #include "mesh/generated/meshtastic/cannedmessages.pb.h"
#ifdef OLED_RU #ifdef OLED_RU
#include "grahics/pfonts/OLEDDisplayFontsRU.h" #include "graphics/fonts/OLEDDisplayFontsRU.h"
#endif #endif
#ifdef OLED_UA #ifdef OLED_UA
#include "grahics/fonts/OLEDDisplayFontsUA.h" #include "graphics/fonts/OLEDDisplayFontsUA.h"
#endif #endif
#if defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ST7735_CS) #if defined(USE_EINK) || defined(ILI9341_DRIVER) || defined(ST7735_CS)

View File

@ -13,7 +13,7 @@
#endif #endif
#ifdef OLED_UA #ifdef OLED_UA
#include "grahics/fonts/OLEDDisplayFontsUA.h" #include "graphics/fonts/OLEDDisplayFontsUA.h"
#endif #endif
/* /*