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: CellularModem USBHost
Fork of CellularUSBModem by
Diff: serial/usb/USBSerialStream.h
- Revision:
- 3:be33ff78d8c7
- Parent:
- 1:6547cd17fdb6
--- a/serial/usb/USBSerialStream.h Fri Oct 18 09:19:53 2013 +0000
+++ b/serial/usb/USBSerialStream.h Mon Dec 16 09:00:30 2013 +0000
@@ -32,10 +32,11 @@
/* Input Serial Stream for USB virtual serial ports interfaces
This class is not thread-safe, except for the *Abort() methods that can be called by any thread/ISR
*/
-#define CIRCBUF_SIZE 127
+
class USBSerialStream : public IOStream, IUSBHostSerialListener
{
public:
+ enum { CIRCBUF_SIZE = 127 };
USBSerialStream(IUSBHostSerial& serial);
/*virtual*/ ~USBSerialStream();
