X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fkernel%2Fao_product.c;h=eaa6c78b8626d3b0070d0d8e811ca9d70aa59352;hp=4c2d83efcaba5ebb3bc224c5bae5261c28f17460;hb=HEAD;hpb=8efe0d40deded973f08f63eb650a036f9e24d2fb diff --git a/src/kernel/ao_product.c b/src/kernel/ao_product.c index 4c2d83ef..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(0x00aa) uint8_t ao_usb_descriptors [] = +AO_USBCONFIG_SYMBOL uint8_t ao_usb_descriptors [] = { /* Device descriptor */ 0x12,