Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos mbed
Fork of USBHost by
Diff: USBHost/USBDeviceConnected.h
- Revision:
- 37:f1e388e7b752
- Parent:
- 24:868cbfe611a7
--- a/USBHost/USBDeviceConnected.h Sun Apr 30 04:17:16 2017 +0000
+++ b/USBHost/USBDeviceConnected.h Thu Jul 20 10:13:56 2017 +0100
@@ -21,6 +21,7 @@
#include "USBEndpoint.h"
#include "USBHostConf.h"
#include "rtos.h"
+#include "Callback.h"
class USBHostHub;
@@ -31,7 +32,7 @@
uint8_t intf_subclass;
uint8_t intf_protocol;
USBEndpoint * ep[MAX_ENDPOINT_PER_INTERFACE];
- FunctionPointer detach;
+ Callback<void()> detach;
char name[10];
} INTERFACE;
