mirror of
https://xff.cz/git/pinephone-keyboard
synced 2024-12-22 12:58:48 -05:00
Revert "Add extra 50uA savings by disabling the USB 3.3V regulator"
This reverts commit c4f36fdb14
.
This commit is contained in:
parent
9943053bc1
commit
6fbfb61c14
@ -2038,8 +2038,8 @@ void main(void)
|
|||||||
// turn off PLL48
|
// turn off PLL48
|
||||||
P1_UDCCTRL |= BIT(0);
|
P1_UDCCTRL |= BIT(0);
|
||||||
|
|
||||||
// turn off unused USB resources (phy power down, PLL48 powerdown, regulator off, pins to gpio mode)
|
// turn off unused USB resources (phy power down, PLL48 powerdown
|
||||||
P1_USBCTRL = BIT(0) | BIT(1) | BIT(2) | BIT(7);
|
P1_USBCTRL |= BIT(0) | BIT(1);
|
||||||
|
|
||||||
// enable auto-tuning internal RC oscillator based on USB SOF packets
|
// enable auto-tuning internal RC oscillator based on USB SOF packets
|
||||||
P1_IRCCTRL |= BIT(1); // enable manual trim
|
P1_IRCCTRL |= BIT(1); // enable manual trim
|
||||||
|
Loading…
Reference in New Issue
Block a user