From 42a0ac7fd8e78e5d608e62a9f0798ee9332df293 Mon Sep 17 00:00:00 2001 From: Ed Clarke Date: Thu, 29 Jun 2017 11:05:24 +0100 Subject: [PATCH] Add comment to explain magic numbers --- module_usb_audio/reboot.xc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module_usb_audio/reboot.xc b/module_usb_audio/reboot.xc index ca4896d3..d8ab2ef4 100644 --- a/module_usb_audio/reboot.xc +++ b/module_usb_audio/reboot.xc @@ -4,6 +4,9 @@ #define XS1_SU_PERIPH_USB_ID 0x1 +//Normally we would enumerate the XUD_SERIES_SUPPORT possibilities using defines in +//xud.h but we have hard coded them to remove dependancy of sc_xud + #if (XUD_SERIES_SUPPORT == 4) #include "xs2_su_registers.h" #define XS2_SU_PERIPH_USB_ID 0x1