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: TSI USBDevice mbed-dev
Fork of SmartWheels by
Diff: PCConnector/SWUSBServer.h
- Revision:
- 18:bf6c5f8281eb
- Parent:
- 16:66c7a09e71ee
- Child:
- 19:c93f7fab165d
--- a/PCConnector/SWUSBServer.h Fri Feb 10 16:17:57 2017 +0000
+++ b/PCConnector/SWUSBServer.h Sat Feb 11 05:05:44 2017 +0000
@@ -21,7 +21,7 @@
namespace SW
{
- class USBServer
+ class USBServer : public Serial
{
public:
USBServer(uint16_t vendor_id=0x1234, uint16_t product_id=0x0006);
@@ -46,7 +46,9 @@
Thread * m_usbThread;
- Serial * m_usb;
+ //Serial * m_usb;
+
+ //Serial * m_usbIn;
std::list<std::string> m_msgQueue;
@@ -57,6 +59,8 @@
void RunningThread();
void ConnectingThread();
+
+ void RxCallback();
};
}
#endif
\ No newline at end of file
