X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fkernel%2Fao_product.c;fp=src%2Fkernel%2Fao_product.c;h=eaa6c78b8626d3b0070d0d8e811ca9d70aa59352;hp=7248865427b725a60d6544f3e4fbec90bca59511;hb=2108da105ed9c915fc09d1251dc655bf11203d79;hpb=74d5dfd1801da8efbb7693a607fd25e35ad1158d diff --git a/src/kernel/ao_product.c b/src/kernel/ao_product.c index 72488654..eaa6c78b 100644 --- a/src/kernel/ao_product.c +++ b/src/kernel/ao_product.c @@ -60,8 +60,12 @@ const char ao_product[] = AO_iProduct_STRING; #define TOTAL_LENGTH (HEADER_LEN + AO_USB_HAS_INT * CONTROL_CLASS_LEN + DATA_LEN) #define NUM_INTERFACES (AO_USB_HAS_INT + 1) +#ifndef AO_USBCONFIG_SYMBOL +#define AO_USBCONFIG_SYMBOL AO_ROMCONFIG_SYMBOL +#endif + /* USB descriptors in one giant block of bytes */ -AO_ROMCONFIG_SYMBOL uint8_t ao_usb_descriptors [] = +AO_USBCONFIG_SYMBOL uint8_t ao_usb_descriptors [] = { /* Device descriptor */ 0x12,