Added fix for ESP32

This commit is contained in:
HarukiToreda
2024-05-18 22:14:22 -04:00
committed by Thomas Göttgens
parent dbb254ba7a
commit ce9e63a2cb
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"
@@ -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