altos/stmf0: Fix build without second USB IN endpoint
authorKeith Packard <keithp@keithp.com>
Sat, 5 Mar 2016 22:37:40 +0000 (14:37 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 5 Mar 2016 22:37:40 +0000 (14:37 -0800)
The code for the second IN endpoint was using the wrong ifdef.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_usb_stm.c

index e68da8eb2adea8f5fe8faad28cec367641635931..253506d59800623a5884e3f90f8814a2a19f71e4 100644 (file)
@@ -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)