summaryrefslogtreecommitdiff
path: root/src-avr/ao_product.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-17 17:52:35 -0700
committerKeith Packard <keithp@keithp.com>2011-05-17 17:52:35 -0700
commitce78906727aa59fc2b91f0fde4c7186b037359ff (patch)
tree3ea069a2d1764aac67a3c8d301fef7fb78a01193 /src-avr/ao_product.c
parentedc7bff70353df0c83deff6d5107060f6e934607 (diff)
src-avr: USB work in progress
Some packets are flowing, although it's not working right. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src-avr/ao_product.c')
-rw-r--r--src-avr/ao_product.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-avr/ao_product.c b/src-avr/ao_product.c
index 420f14db..5cf365d5 100644
--- a/src-avr/ao_product.c
+++ b/src-avr/ao_product.c
@@ -29,7 +29,11 @@ const char ao_product[] = AO_iProduct_STRING;
#if HAS_USB
#include "ao_usb.h"
/* USB descriptors in one giant block of bytes */
+#ifdef AVR
+const uint8_t ao_usb_descriptors [] =
+#else
__code __at(0x00aa) uint8_t ao_usb_descriptors [] =
+#endif
{
/* Device descriptor */
0x12,