platform: esp32: u8display: hide behind CONFIG_U8DISPLAY flag
This commit is contained in:
		| @@ -1,8 +1,9 @@ | |||||||
|  | #ifdef CONFIG_U8DISPLAY | ||||||
| #include <Figments.h> | #include <Figments.h> | ||||||
| #include <U8g2lib.h> | #include <U8g2lib.h> | ||||||
| #include "../../Static.h" | #include "../../../Static.h" | ||||||
| #include <ArduinoLog.h> | #include <ArduinoLog.h> | ||||||
| #include "../../LogService.h" | #include "../../../LogService.h" | ||||||
|  |  | ||||||
| U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, 16, 15, 4); | 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_ALLOC(U8Display); | ||||||
| STATIC_TASK(U8Display); | STATIC_TASK(U8Display); | ||||||
|  | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user