From: Keith Packard Date: Sun, 7 Jan 2024 06:07:29 +0000 (-0800) Subject: altos/samd21: Enable stdio for USB by default X-Git-Tag: 1.9.18~2^2~98 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=3f31012645918097dc426cd6ba8763b30e78bab1 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 --- 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