Added fix for ESP32

This commit is contained in:
HarukiToreda
2024-06-16 11:59:21 +02:00
committed by Thomas Göttgens
co-authored by Thomas Göttgens
parent a38a18da0d
commit 27bb3506d3
4 changed files with 34 additions and 1 deletions
+3
View File
@@ -35,6 +35,8 @@
#include <utility>
// #include <driver/rtc_io.h>
bool cardKBDetected = false;
void scanForCardKB();
#ifdef ARCH_ESP32
#if !MESHTASTIC_EXCLUDE_WEBSERVER
#include "mesh/http/WebServer.h"
@@ -376,6 +378,7 @@ void setup()
// otherwise keyboard and touch screen will not work
delay(800);
#endif
scanForCardKB(); // Initial scan for CardKB
// Currently only the tbeam has a PMU
// PMU initialization needs to be placed before i2c scanning