Merge branch 'main' into dev

This commit is contained in:
Scott Powell 2025-03-11 20:09:59 +11:00
commit 04d85c687f
2 changed files with 6 additions and 0 deletions

View file

@ -17,6 +17,10 @@ public:
// for future use, sub-classes SHOULD call this from their begin()
startup_reason = BD_STARTUP_NORMAL;
#ifdef ESP32_CPU_FREQ
setCpuFrequencyMhz(ESP32_CPU_FREQ);
#endif
#ifdef PIN_VBAT_READ
// battery read support
pinMode(PIN_VBAT_READ, INPUT);