altos/stmf0: Fix build without second USB IN endpoint
[fw/altos] / 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)