mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 17:16:29 +08:00
feat(esp8266): add new power management method
This commit is contained in:
@ -117,7 +117,7 @@ static void user_init_entry(void *param)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP8266_DEFAULT_CPU_FREQ_160
|
||||
rtc_clk_cpu_freq_set(RTC_CPU_FREQ_160M);
|
||||
esp_set_cpu_freq(ESP_CPU_FREQ_160M);
|
||||
#endif
|
||||
|
||||
app_main();
|
||||
|
Reference in New Issue
Block a user