forked from PAWPAW-Mirror/lib_xua
Fix to U series reboot (was still using ARCH_S def)
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
/* Reboots XMOS device by writing to the PLL config register */
|
/* Reboots XMOS device by writing to the PLL config register */
|
||||||
void device_reboot_implementation(chanend spare)
|
void device_reboot_implementation(chanend spare)
|
||||||
{
|
{
|
||||||
#ifdef ARCH_S
|
#ifdef XUD_ON_U_SERIES
|
||||||
/* Disconnect from bus */
|
/* Disconnect from bus */
|
||||||
unsigned data[] = {4};
|
unsigned data[] = {4};
|
||||||
write_periph_32(usb_tile, 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user