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

+1 -1
View File
@@ -393,7 +393,7 @@ void loop() {
#if defined(ESP32_PLATFORM)
board.servicePowerTestControls();
mesh::esp32::serviceCpuFrequencyPolicy(board, the_mesh.getNodePrefs()->cpu_freq_mhz,
the_mesh.getNodePrefs()->powersaving_enabled != 0, millis());
the_mesh.getNodePrefs()->powersaving_enabled != 0, millis(), false, the_mesh.isDualRadioActive());
#endif
const auto sleep_guard = [](bool allowed, mesh::powerdiag::Reason reason) {
if (!allowed && mesh::powerdiag::enabled())