Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MSCFileSystem by
Revision 8:cccdf653258b, committed 2016-06-12
- 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 |
--- 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
