From 7cb388a33104fd78c8cb1fa08a6f114e3e1e372d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 5 Mar 2016 14:37:40 -0800 Subject: [PATCH] altos/stmf0: Fix build without second USB IN endpoint The code for the second IN endpoint was using the wrong ifdef. Signed-off-by: Keith Packard --- src/stmf0/ao_usb_stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stmf0/ao_usb_stm.c b/src/stmf0/ao_usb_stm.c index e68da8eb..253506d5 100644 --- a/src/stmf0/ao_usb_stm.c +++ b/src/stmf0/ao_usb_stm.c @@ -1007,7 +1007,7 @@ ao_usb_putchar(char c) } #endif -#if AO_USB_HAS_IN +#if AO_USB_HAS_IN2 /* Queue the current IN buffer for transmission */ static void _ao_usb_in2_send(void) -- 2.30.2