* new target env: Xiao S3 WIO repeater

Bu işleme şunda yer alıyor:
Scott Powell
2025-01-19 16:44:25 +11:00
ebeveyn 07ad40cac0
işleme 88f21d9aa4
5 değiştirilmiş dosya ile 56 ekleme ve 14 silme
+15 -1
Dosyayı Görüntüle
@@ -8,10 +8,24 @@
#include <rom/rtc.h>
#include <sys/time.h>
class ESP32Board : public mesh::MainBoard { // abstract class
class ESP32Board : public mesh::MainBoard {
protected:
uint8_t startup_reason;
public:
void begin() {
// for future use, sub-classes SHOULD call this from their begin()
startup_reason = BD_STARTUP_NORMAL;
}
uint8_t getStartupReason() const override { return startup_reason; }
uint16_t getBattMilliVolts() override {
return 0; // not supported
}
const char* getManufacturerName() const override {
return "Generic ESP32";
}
void reboot() override {