From 6d5e2b961350bcf8c70d331f4827186f7b4b7424 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Fri, 20 Jun 2025 08:03:59 +0800 Subject: [PATCH] SerialUSB: fix missing overload after #123 This would have been spotted if we extend the CI to compile all the exaples (TestClient in particular). --- cores/arduino/SerialUSB.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/arduino/SerialUSB.h b/cores/arduino/SerialUSB.h index 442d28d0..be1377f8 100644 --- a/cores/arduino/SerialUSB.h +++ b/cores/arduino/SerialUSB.h @@ -19,6 +19,7 @@ class SerialUSB_ : public ZephyrSerial { operator bool() override; size_t write(const uint8_t *buffer, size_t size) override; + size_t write(const uint8_t data) override { return write(&data, 1); } void flush() override; protected: 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