]> granicus.if.org Git - esp-idf/commitdiff
soc: rtc_vddsdio_get_config() In default configuration, VDD_SDIO LDO is always enabled
authorAngus Gratton <angus@espressif.com>
Fri, 25 May 2018 04:53:03 +0000 (14:53 +1000)
committerAngus Gratton <gus@projectgus.com>
Fri, 25 May 2018 05:14:13 +0000 (15:14 +1000)
When using bootstrapping pin to enable VDD_SDIO, the internal LDO is always enabled at either 1.8V
or 3.3V.

components/soc/esp32/rtc_init.c

index 0fa5d8687dd39de93fd0a670dfde2510ac7f26f8..7236225d43176a69dd4e9dfa79163c757d3546dc 100644 (file)
@@ -133,7 +133,7 @@ rtc_vddsdio_config_t rtc_vddsdio_get_config()
     uint32_t strap_reg = REG_READ(GPIO_STRAP_REG);
     result.force = 0;
     result.tieh = (strap_reg & BIT(5)) ? RTC_VDDSDIO_TIEH_1_8V : RTC_VDDSDIO_TIEH_3_3V;
-    result.enable = result.tieh == RTC_VDDSDIO_TIEH_1_8V; // only power on the regulator if VDD=1.8
+    result.enable = 1;
     return result;
 }