From 5655c91fd8b83407a72d2030cf1507475fa6b96d Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Mon, 30 Mar 2015 12:22:00 +0100 Subject: [PATCH] BCD_DEVICE now guarded by #ifndef (Caused issues with DFU test configs) --- CHANGELOG.rst | 2 ++ module_usb_audio/devicedefines.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3b07643d..1cb9fa40 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,8 @@ HEAD - RESOLVED: (Minor) Potential build issue due to duplicate labels in inline asm in set_interrupt_handler macro - RESOLVED: (Minor) String descriptor for Clock Selector unit incorrectly reported + - RESOLVED: (Minor) BCD_DEVICE in devicedefines.h now guarded by #ifndef (Caused issues with + default DFU test build configs. - CHANGE: HID report descriptor defines added to shared user_hid.h - CHANGE: Now uses module_adat_rx from sc_adat (local module_usb_audio_adat removed) diff --git a/module_usb_audio/devicedefines.h b/module_usb_audio/devicedefines.h index ce3f747d..b55f56f5 100644 --- a/module_usb_audio/devicedefines.h +++ b/module_usb_audio/devicedefines.h @@ -472,8 +472,9 @@ * * Default: XMOS USB Audio Release version (e.g. 0x0651 for 6.5.1). */ +#ifndef BCD_DEVICE #define BCD_DEVICE ((BCD_DEVICE_J << 8) | ((BCD_DEVICE_M & 0xF) << 4) | (BCD_DEVICE_N & 0xF)) - +#endif /** * @brief Number of supported output stream formats.