Sertel USB Log

Fork of MSCFileSystem by Chris Styles

Revision:
8:cccdf653258b
Parent:
4:dcc326e4d358
--- 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