USB device stack (USBDevice::connect non-blocking)
Fork of USBDevice by
Diff: USBMSD/USBMSD.h
- Revision:
- 18:a0db8d2001f6
- Parent:
- 14:d495202c90f4
--- a/USBMSD/USBMSD.h Thu Jan 23 17:30:20 2014 +0000 +++ b/USBMSD/USBMSD.h Sat Feb 15 12:34:43 2014 +0000 @@ -70,9 +70,10 @@ /** * Connect the USB MSD device. Establish disk initialization before really connect the device. * + * @param blocking if not configured * @returns true if successful */ - bool connect(); + bool connect(bool blocking = true); /** * Disconnect the USB MSD device.