esp_system: add VDD_SDIO power domain configuration to documentation

Add a warning in `sleep_modes` doc page to explain how to keep
VDD_SDIO power domain ON.
This commit is contained in:
Omar Chebib
2021-03-04 17:44:14 +08:00
parent b0684e8b3c
commit ae3b4819da
3 changed files with 15 additions and 2 deletions

View File

@@ -719,7 +719,7 @@ esp_err_t esp_light_sleep_start(void)
* If VDD_SDIO power domain is requested to be turned off, bit `RTC_SLEEP_PD_VDDSDIO`
* will be set in `pd_flags`.
*/
if ((pd_flags & RTC_SLEEP_PD_VDDSDIO) != 0) {
if (pd_flags & RTC_SLEEP_PD_VDDSDIO) {
/*
* When VDD_SDIO power domain has to be turned off, the minimum sleep time of the
* system needs to meet the sum below: