esp_pm: create pm init function

This commit is contained in:
Renz Bagaporo
2020-07-27 14:06:59 +08:00
committed by bot
parent f33f49331f
commit fb749440fd
3 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -48,4 +48,4 @@ void IRAM_ATTR esp_pm_trace_enter(esp_pm_trace_event_t event, int core_id)
void IRAM_ATTR esp_pm_trace_exit(esp_pm_trace_event_t event, int core_id)
{
REG_WRITE(GPIO_OUT_W1TC_REG, s_trace_io[2 * event + core_id]);
}
}