summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-03-05 14:37:40 -0800
committerKeith Packard <keithp@keithp.com>2016-03-05 14:37:40 -0800
commit7cb388a33104fd78c8cb1fa08a6f114e3e1e372d (patch)
tree150fafe8a82923623ec297df486615f1c4713d36
parent99d3248a390379cfabf821ea4a195072799861eb (diff)
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 <keithp@keithp.com>
-rw-r--r--src/stmf0/ao_usb_stm.c2
1 files changed, 1 insertions, 1 deletions
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)