You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: STM32F1/cores/maple/usb_serial.h
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -44,19 +44,19 @@ class USBSerial : public Stream {
44
44
45
45
voidbegin(void);
46
46
47
-
// Roger Clark. Added dummy function so that existing Arduino sketches which specify baud rate will compile.
48
-
voidbegin(unsignedlong);
49
-
voidbegin(unsignedlong, uint8_t);
47
+
// Roger Clark. Added dummy function so that existing Arduino sketches which specify baud rate will compile.
48
+
voidbegin(unsignedlong);
49
+
voidbegin(unsignedlong, uint8_t);
50
50
voidend(void);
51
51
52
-
operatorbool() { returntrue; } // Roger Clark. This is needed because in cardinfo.ino it does if (!Serial) . It seems to be a work around for the Leonardo that we needed to implement just to be compliant with the API
52
+
operatorbool() { returntrue; } // Roger Clark. This is needed because in cardinfo.ino it does if (!Serial) . It seems to be a work around for the Leonardo that we needed to implement just to be compliant with the API
53
53
54
54
virtualintavailable(void);// Changed to virtual
55
55
56
56
uint32 read(uint8 * buf, uint32 len);
57
-
// uint8 read(void);
57
+
// uint8 read(void);
58
58
59
-
// Roger Clark. added functions to support Arduino 1.0 API
59
+
// Roger Clark. added functions to support Arduino 1.0 API
60
60
virtualintpeek(void);
61
61
virtualintread(void);
62
62
intavailableForWrite(void);
@@ -74,8 +74,7 @@ class USBSerial : public Stream {
0 commit comments