change the main scan class so they scan only for wanted bits - UNTESTED

This commit is contained in:
Thomas Göttgens
2024-05-19 19:32:08 +02:00
parent 27bb3506d3
commit dbb254ba7a
7 changed files with 51 additions and 38 deletions

View File

@@ -35,8 +35,6 @@
#include <utility>
// #include <driver/rtc_io.h>
bool cardKBDetected = false;
void scanForCardKB();
#ifdef ARCH_ESP32
#if !MESHTASTIC_EXCLUDE_WEBSERVER
#include "mesh/http/WebServer.h"
@@ -378,7 +376,6 @@ 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