Prioritize ESP32 Auto CPU speed during dual-profile radio scanning

This commit is contained in:
mikecarper committed 2026-10-23 02:34:50 -07:00
1 parent 663312c820
commit 1412ee4954
16 files changed
+399 -28

No files matched your search

+5
View File
@@ -170,7 +170,12 @@ public:
// preference layout and board vtable. Zero selects the role's Auto policy.
virtual uint16_t getCpuFrequencyMHz() const { return 0; }
virtual bool supportsCpuFrequencyMHz(uint16_t) const { return false; }
virtual void setCpuFrequencyRequest(uint16_t, bool) { }
virtual bool applyCpuFrequencyMHz(uint16_t, bool) { return false; }
virtual bool prepareRadioProfileCpuClock(bool, bool& changed) {
changed = false;
return true;
}
#endif
virtual void reboot() = 0;
MESH_REGULATOR_VIRTUAL uint8_t mcuRegulatorModes() const { return 0; }