[SSD1306] Fix reboot loop with latest ESP32 platform (#1551)

This commit is contained in:
Northern Man authored and GitHub committed 2023-03-20 07:35:14 -05:00
1 parent 85650a6204
commit 4e93722098
3 files changed
+26 -15

No files matched your search

+5
View File
@@ -107,6 +107,7 @@
extern void setupSSD1306();
extern void loopSSD1306();
extern void MQTTtoSSD1306(char*, JsonObject&);
extern String stateSSD1306Display();
// Simple construct for displaying message in lcd and oled displays
@@ -140,6 +141,10 @@ struct displayQueueMessage {
char line4[OLED_TEXT_WIDTH];
};
displayQueueMessage* currentOledMessage;
/*-------------------End of Global Variables----------------------*/
// This pattern was borrowed from HardwareSerial and modified to support the ssd1306 display
class OledSerial : public Stream {