Added fix for ESP32

This commit is contained in:
HarukiToreda
2024-05-18 22:14:22 -04:00
parent 84d3117a7a
commit 1ec0e750a3
4 changed files with 34 additions and 1 deletions

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"
@@ -374,6 +376,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