Revert "Add extra 50uA savings by disabling the USB 3.3V regulator"

This reverts commit c4f36fdb14.
This commit is contained in:
Ondrej Jirman 2023-02-17 18:49:01 +01:00
parent 9943053bc1
commit 6fbfb61c14

View File

@ -2038,8 +2038,8 @@ void main(void)
// turn off PLL48
P1_UDCCTRL |= BIT(0);
// turn off unused USB resources (phy power down, PLL48 powerdown, regulator off, pins to gpio mode)
P1_USBCTRL = BIT(0) | BIT(1) | BIT(2) | BIT(7);
// turn off unused USB resources (phy power down, PLL48 powerdown
P1_USBCTRL |= BIT(0) | BIT(1);
// enable auto-tuning internal RC oscillator based on USB SOF packets
P1_IRCCTRL |= BIT(1); // enable manual trim