From 464ac9db09cc820186df9c4fe2c1f16177837a9f Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 23 Jan 2012 00:43:39 +0100 Subject: Set PWRDWN bit to power up transceiver. --- main.cpp | 4 ++-- 1 file 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(); -- cgit v1.2.3