From 978a2d494d16dcd9f331c43c2512b9385f480089 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 10 Jul 2013 14:59:09 +0100 Subject: [PATCH] xs1_su_periph -> usb_tile --- 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 c10cfa17..79729df8 100644 --- a/module_usb_audio/reboot.xc +++ b/module_usb_audio/reboot.xc @@ -11,7 +11,7 @@ void device_reboot_implementation(chanend spare) #ifdef ARCH_S /* Disconnect from bus */ unsigned data[] = {4}; - write_periph_32(xs1_su_periph, XS1_SU_PERIPH_USB_ID, XS1_SU_PER_UIFM_FUNC_CONTROL_NUM, 1, data); + write_periph_32(usb_tile, XS1_SU_PERIPH_USB_ID, XS1_SU_PER_UIFM_FUNC_CONTROL_NUM, 1, data); /* Ideally we would reset SU1 here but then we loose power to the xcore and therefore the DFU flag */ /* Disable USB and issue reset to xcore only - not analogue chip */