Working version on STM32F411. Test for CLI

Dependencies:   FATFileSystem mbed-rtos mbed

Fork of USBHost by mbed official

Revision:
37:f1e388e7b752
Parent:
24:868cbfe611a7
--- a/USBHostSerial/USBHostSerial.h	Sun Apr 30 04:17:16 2017 +0000
+++ b/USBHostSerial/USBHostSerial.h	Thu Jul 20 10:13:56 2017 +0100
@@ -24,6 +24,7 @@
 #include "USBHost.h"
 #include "Stream.h"
 #include "MtxCircBuffer.h"
+#include "Callback.h"
 
 /**
  * A class to communicate a USB virtual serial port
@@ -137,8 +138,8 @@
 
     void rxHandler();
     void txHandler();
-    FunctionPointer rx;
-    FunctionPointer tx;
+    Callback<void()> rx;
+    Callback<void()> tx;
 
     uint8_t serial_intf;
 };