feat(esp8266): Add get RTC clock value

This commit is contained in:
Dong Heng
2020-08-26 16:32:07 +08:00
parent 9f37d6900f
commit 20021fe974

View File

@ -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);
}