Sertel USB Log

Fork of MSCFileSystem by Chris Styles

Files at this revision

API Documentation at this revision

Comitter:
mrsoundhar
Date:
Sun Jun 12 16:44:44 2016 +0000
Parent:
4:dcc326e4d358
Commit message:
Soundharrajan USB Log for Drive

Changed in this revision

USBHostLite/usbhost_lpc17xx.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r dcc326e4d358 -r cccdf653258b USBHostLite/usbhost_lpc17xx.cpp
--- a/USBHostLite/usbhost_lpc17xx.cpp	Mon Jul 23 09:59:06 2012 +0000
+++ b/USBHostLite/usbhost_lpc17xx.cpp	Sun Jun 12 16:44:44 2016 +0000
@@ -131,8 +131,7 @@
     // Enable USB host clock, port selection and AHB clock
     LPC_USB->USBClkCtrl |= CLOCK_MASK;
     // Wait for clocks to become available
-    while ((LPC_USB->USBClkSt & CLOCK_MASK) != CLOCK_MASK)
-        ;
+    while ((LPC_USB->USBClkSt & CLOCK_MASK) != CLOCK_MASK)   ;
     
     // it seems the bits[0:1] mean the following
     // 0: U1=device, U2=host