mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Added fix for ESP32
This commit is contained in:
committed by
Thomas Göttgens
parent
dbb254ba7a
commit
ce9e63a2cb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user