BCD_DEVICE guarded with ifndef

This commit is contained in:
Ross Owen
2015-03-23 11:56:16 +00:00
parent 6ce5c343b1
commit f32156da38
2 changed files with 4 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ sc_usb_audio Change Log
mixer functionality.
- RESOLVED: (Minor) Potential build issue due to duplicate labels in inline asm in
set_interrupt_handler macro
- RESOLVED: (Minor) BCD_DEVICE define in devicedefines.h now guarded by ifndef (caused issues
with DFU test build configs.
- RESOLVED: (Minor) String descriptor for Clock Selector unit incorrectly reported
- 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)

View File

@@ -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.