Added fix for ESP32

This commit is contained in:
HarukiToreda authored and Thomas Göttgens committed 2024-06-16 11:59:21 +02:00
1 parent dbb254ba7a
commit ce9e63a2cb
4 files changed
+34 -1

No files matched your search

+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