summaryrefslogtreecommitdiff
path: root/src-avr/ao_usb.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-18 00:18:58 -0700
committerKeith Packard <keithp@keithp.com>2011-05-18 00:18:58 -0700
commit08c00b439dd2ebe0924e7d5fee519ec8d869151e (patch)
tree1a9d9871b9993b97f618f30e18d722da79e6d2a7 /src-avr/ao_usb.h
parent44cb8f26a3c2749219206c5f885230278f00e969 (diff)
src-avr: Get USB on AVR working
As usual, the key is to know when to send 0-length IN and OUT packets. Needs a bunch of cleanup, but it's working now. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao_usb.h')
-rw-r--r--src-avr/ao_usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-avr/ao_usb.h b/src-avr/ao_usb.h
index cec867ac..6633dafc 100644
--- a/src-avr/ao_usb.h
+++ b/src-avr/ao_usb.h
@@ -64,7 +64,7 @@
#define AO_USB_INT_EP 1
#define AO_USB_OUT_EP 4
#define AO_USB_IN_EP 5
-#define AO_USB_CONTROL_SIZE 16
+#define AO_USB_CONTROL_SIZE 32
/*
* Double buffer IN and OUT EPs, so each
* gets half of the available space