USB lib Joerg

Fork of USBHost_DISCO-F746NG by Dieter Graef

Revision:
24:5396b6a93262
Parent:
20:9827f135ccb6
Child:
25:7d6d9fc471bf
--- a/USBHostMSD/USBHostMSD.cpp	Sun May 01 03:18:11 2016 +0000
+++ b/USBHostMSD/USBHostMSD.cpp	Mon Jun 13 17:21:07 2016 +0000
@@ -29,9 +29,9 @@
 #define GET_MAX_LUN             (0xFE)
 #define BO_MASS_STORAGE_RESET   (0xFF)
 
-USBHostMSD::USBHostMSD(const char * rootdir) : FATFileSystem(rootdir)
+USBHostMSD::USBHostMSD(int Interface,const char * rootdir) : FATFileSystem(rootdir)
 {
-    host = USBHost::getHostInst();
+    host = USBHost::getHostInst(Interface);
     init();
 }