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
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
Diff: USBHostSerial/USBHostSerial.h
- Revision:
- 37:f1e388e7b752
- Parent:
- 24:868cbfe611a7
diff -r 655a8c5fa238 -r f1e388e7b752 USBHostSerial/USBHostSerial.h
--- 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;
};