Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)

Dependents:   DISCO-F746NG_USB_Host

Fork of KL46Z-USBHost by Norimasa Okamoto

Revision:
16:981c3104f6c0
Parent:
10:40c7f6788902
--- a/USBHost/myvector.h	Fri Jun 13 01:52:44 2014 +0000
+++ b/USBHost/myvector.h	Mon Jun 23 20:30:04 2014 +0900
@@ -7,6 +7,11 @@
         m_size = 0;
         m_buf = NULL;
     }
+    ~myvector() {
+        if (m_buf) {
+            delete[] m_buf;
+        }
+    }
     void push_back(T v) {
         T* new_buf = new T[m_size+1];
         if (m_size > 0) {