From 3f31012645918097dc426cd6ba8763b30e78bab1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 6 Jan 2024 22:07:29 -0800 Subject: [PATCH] altos/samd21: Enable stdio for USB by default samd21 usb driver didn't bother to enable stdio for USB for some reason. Signed-off-by: Keith Packard --- src/samd21/ao_usb_samd21.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/samd21/ao_usb_samd21.c b/src/samd21/ao_usb_samd21.c index bed4f54a..6b88e856 100644 --- a/src/samd21/ao_usb_samd21.c +++ b/src/samd21/ao_usb_samd21.c @@ -28,6 +28,10 @@ #define AO_USB_DEVICE_ID_SERIAL 0 #endif +#ifndef USE_USB_STDIO +#define USE_USB_STDIO 1 +#endif + #if USE_USB_FIFO static struct ao_fifo ao_usb_rx_fifo; #endif -- 2.30.2