Skip to content

Commit f27ece3

Browse files
authored
Merge pull request #146 from facchinm/fix_serialusb_write_overload
SerialUSB: fix missing overload after #123
2 parents 6621efb + 6d5e2b9 commit f27ece3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/SerialUSB.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class SerialUSB_ : public ZephyrSerial {
1919

2020
operator bool() override;
2121
size_t write(const uint8_t *buffer, size_t size) override;
22+
size_t write(const uint8_t data) override { return write(&data, 1); }
2223
void flush() override;
2324

2425
protected:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy