From 5dd1cc844f3144c0d99f1b8ca0b20276ca9ac8f3 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 10 Jul 2013 15:02:13 +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 79729df8..d418c43c 100644 --- a/module_usb_audio/reboot.xc +++ b/module_usb_audio/reboot.xc @@ -15,7 +15,7 @@ void device_reboot_implementation(chanend spare) /* 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 */ - write_node_config_reg(xs1_su_periph, XS1_SU_CFG_RST_MISC_NUM,0b10); + write_node_config_reg(usb_tile, XS1_SU_CFG_RST_MISC_NUM,0b10); #else outct(spare, XS1_CT_END); // have to do this before freeing the chanend inct(spare); // Receive end ct from usb_buffer to close down in both directions