Merge pull request #1291 from raldi/master

Get sleep side effect out of DEBUG_MSG()
pull/1292/head
mkinney 2022-03-14 13:33:27 -07:00 zatwierdzone przez GitHub
commit 6fa2d47f0c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -289,6 +289,7 @@ void enableModemSleep()
config.max_freq_mhz = CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ;
config.min_freq_mhz = 20; // 10Mhz is minimum recommended
config.light_sleep_enable = false;
DEBUG_MSG("Sleep request result %x\n", esp_pm_configure(&config));
int rv = esp_pm_configure(&config);
DEBUG_MSG("Sleep request result %x\n", rv);
}
#endif