summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 04fcae8..5128062 100644
--- a/main.cpp
+++ b/main.cpp
@@ -88,8 +88,8 @@ int main() {
// NZLSOHSK DSPD
// core configuration
- OTG_FS.reg.GCCFG = (1 << 19);
- // VBUSBSEN
+ OTG_FS.reg.GCCFG = (1 << 19) | (1 << 16);
+ // VBUSBSEN PWRDWN
while(1) {
led_green.toggle();