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.
Dependents: blinky_max32630fthr FTHR_USB_serial FTHR_OLED HSP_RPC_GUI_3_0_1 ... more
Fork of USBDevice by
Diff: USBMSD/USBMSD.cpp
- Revision:
- 18:78bdbce94509
- Parent:
- 14:d495202c90f4
- Child:
- 29:b7a0ea455a0c
diff -r bbd6dac92961 -r 78bdbce94509 USBMSD/USBMSD.cpp
--- a/USBMSD/USBMSD.cpp Thu Jan 23 17:30:20 2014 +0000
+++ b/USBMSD/USBMSD.cpp Tue Feb 18 11:00:19 2014 +0000
@@ -103,8 +103,7 @@
}
-bool USBMSD::connect() {
-
+bool USBMSD::connect(bool blocking) {
//disk initialization
if (disk_status() & NO_INIT) {
if (disk_initialize()) {
@@ -131,7 +130,7 @@
}
//connect the device
- USBDevice::connect();
+ USBDevice::connect(blocking);
return true;
}
