From 3364b3f86768279f4bdf051dd617558b08beda3d Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 23 Jul 2013 16:44:30 +0100 Subject: [PATCH] Fix to U series reboot (was still using ARCH_S def) --- module_usb_audio/reboot.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_usb_audio/reboot.xc b/module_usb_audio/reboot.xc index d418c43c..4fe7ec9f 100644 --- a/module_usb_audio/reboot.xc +++ b/module_usb_audio/reboot.xc @@ -8,7 +8,7 @@ /* Reboots XMOS device by writing to the PLL config register */ void device_reboot_implementation(chanend spare) { -#ifdef ARCH_S +#ifdef XUD_ON_U_SERIES /* Disconnect from bus */ unsigned data[] = {4}; write_periph_32(usb_tile, XS1_SU_PERIPH_USB_ID, XS1_SU_PER_UIFM_FUNC_CONTROL_NUM, 1, data);