summaryrefslogtreecommitdiff
path: root/src-avr/ao.h
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.h
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.h')
-rw-r--r--src-avr/ao.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-avr/ao.h b/src-avr/ao.h
index ed27a156..242c26c7 100644
--- a/src-avr/ao.h
+++ b/src-avr/ao.h
@@ -326,8 +326,12 @@ extern __code __at (0x00a0) struct ao_romconfig ao_romconfig;
#endif
#if HAS_USB
+#ifdef AVR
+extern const uint8_t ao_usb_descriptors [];
+#else
extern __code __at (0x00aa) uint8_t ao_usb_descriptors [];
#endif
+#endif
/*
* ao_usb.c