updsted the USB to persuade it to build for the Dragonfly platfom
Fork of USBDevice by
Diff: USBMSD/USBMSD.cpp
- Revision:
- 72:e5c300b1df2f
- Parent:
- 51:deafa44182d9
--- a/USBMSD/USBMSD.cpp Thu Jul 27 12:14:04 2017 +0100 +++ b/USBMSD/USBMSD.cpp Fri May 11 09:07:29 2018 +0000 @@ -64,6 +64,12 @@ USBMSD::USBMSD(uint16_t vendor_id, uint16_t product_id, uint16_t product_release): USBDevice(vendor_id, product_id, product_release) { + + +extern int USBMSD_USBMSD_InstCount; // debug BL +++USBMSD_USBMSD_InstCount; // debug BL + + stage = READ_CBW; memset((void *)&cbw, 0, sizeof(CBW)); memset((void *)&csw, 0, sizeof(CSW)); @@ -104,6 +110,7 @@ bool USBMSD::connect(bool blocking) { +printf("USBMSD::connect\r\n"); //disk initialization if (disk_status() & NO_INIT) { if (disk_initialize()) {