mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-23 01:58:24 +08:00
Merge branch 'feature/add_get_rtc_clk' into 'master'
feat(esp8266): Add get RTC clock value See merge request sdk/ESP8266_RTOS_SDK!1507
This commit is contained in:
@ -427,3 +427,8 @@ esp_err_t esp_pm_configure(const void* vconfig)
|
||||
}
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
uint32_t rtc_time_get(void)
|
||||
{
|
||||
return REG_READ(RTC_SLP_CNT_VAL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user