Skip to content

Commit a222dd4

Browse files
committed
HardwareSerial.begin()
1 parent 78eac8a commit a222dd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AudioTools/AudioLibs/Desktop/NoArduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ class HardwareSerial : public Stream {
180180
public:
181181
size_t write(uint8_t ch) override { return putchar(ch); }
182182
virtual operator bool() { return true; }
183+
bool begin(long baudrate, int config=0) { return true; }
183184
};
184185

185186
static HardwareSerial Serial;

0 commit comments

Comments
 (0)