We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410fb09 commit 82ab6b8Copy full SHA for 82ab6b8
components/esp_pm/pm_impl.c
@@ -374,10 +374,9 @@ static void IRAM_ATTR esp_pm_execute_exit_sleep_callbacks(int64_t sleep_time_us)
374
}
375
#endif
376
377
-static esp_err_t esp_pm_sleep_configure(const void *vconfig)
+static esp_err_t esp_pm_sleep_configure(const esp_pm_config_t *config)
378
{
379
esp_err_t err = ESP_OK;
380
- const esp_pm_config_t* config = (const esp_pm_config_t*) vconfig;
381
382
#if ESP_SLEEP_POWER_DOWN_CPU && CONFIG_SOC_LIGHT_SLEEP_SUPPORTED
383
err = sleep_cpu_configure(config->light_sleep_enable);
0 commit comments