summaryrefslogtreecommitdiff
path: root/src/core/ao_usb.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-21 11:16:54 -0700
committerKeith Packard <keithp@keithp.com>2013-05-21 11:16:54 -0700
commitfd5567882b732f8947b44b217552077c82a3d28e (patch)
tree291a07d2c1f0586c238f29389abc881096e27c5f /src/core/ao_usb.h
parentfd55c1fe53adf5c50dcd3ce8296f80871cec73e9 (diff)
parent57b4d82dee10b142b820aa306028a288a85214f6 (diff)
Merge branch 'lpc'
Diffstat (limited to 'src/core/ao_usb.h')
-rw-r--r--src/core/ao_usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ao_usb.h b/src/core/ao_usb.h
index 6bc77608..35e64e65 100644
--- a/src/core/ao_usb.h
+++ b/src/core/ao_usb.h
@@ -102,8 +102,11 @@ extern __code __at (0x00aa) uint8_t ao_usb_descriptors [];
#define AO_USB_INT_EP 1
#define AO_USB_INT_SIZE 8
+#ifndef AO_USB_OUT_EP
#define AO_USB_OUT_EP 4
#define AO_USB_IN_EP 5
+#endif
+
/*
* USB bulk packets can only come in 8, 16, 32 and 64
* byte sizes, so we'll use 64 for everything