altos/chaoskey: Add another USB endpoint to read raw data
[fw/altos] / src / kernel / ao_usb.h
index 773b5cb7eca054b0d283f0b5ef67dbd4367d4e17..8f3e7813f4ed308b2f0ef937d8f8f0aec0af72cd 100644 (file)
@@ -105,6 +105,7 @@ extern __code __at (0x00aa) uint8_t ao_usb_descriptors [];
 #ifndef AO_USB_OUT_EP
 #define AO_USB_OUT_EP          4
 #define AO_USB_IN_EP           5
+#define AO_USB_IN2_EP          6
 #endif
 
 #ifndef AO_USB_HAS_OUT
@@ -119,6 +120,10 @@ extern __code __at (0x00aa) uint8_t ao_usb_descriptors [];
 #define AO_USB_HAS_INT 1
 #endif
 
+#ifndef AO_USB_HAS_IN2
+#define AO_USB_HAS_IN2 0
+#endif
+
 /*
  * USB bulk packets can only come in 8, 16, 32 and 64
  * byte sizes, so we'll use 64 for everything