platform: esp32: u8display: hide behind CONFIG_U8DISPLAY flag

This commit is contained in:
Torrie Fischer 2023-12-23 11:06:14 +01:00
parent c4bbeccac0
commit 3e9d4eb08f

View File

@ -1,8 +1,9 @@
#ifdef CONFIG_U8DISPLAY
#include <Figments.h>
#include <U8g2lib.h>
#include "../../Static.h"
#include "../../../Static.h"
#include <ArduinoLog.h>
#include "../../LogService.h"
#include "../../../LogService.h"
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, 16, 15, 4);
@ -236,3 +237,4 @@ class U8Display : public Task {
STATIC_ALLOC(U8Display);
STATIC_TASK(U8Display);
#endif