summaryrefslogtreecommitdiff
path: root/src-avr/ao.h
diff options
context:
space:
mode:
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