mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-11-09 22:15:42 +01: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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue