mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
set cpu freq in ESP32Board.h
This commit is contained in:
parent
d367f7d7bb
commit
4a0f4f4b68
6 changed files with 6 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue