From 01c2874953cbb1fa543a8ef75e1b94ddcd05f89c Mon Sep 17 00:00:00 2001 From: mbanth Date: Wed, 16 Jun 2021 16:16:13 +0100 Subject: [PATCH] Added warning when re-booting and XS3 part --- lib_xua/src/core/support/reboot.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_xua/src/core/support/reboot.xc b/lib_xua/src/core/support/reboot.xc index 7c78928e..e3f4eb2a 100644 --- a/lib_xua/src/core/support/reboot.xc +++ b/lib_xua/src/core/support/reboot.xc @@ -38,6 +38,8 @@ void device_reboot(void) /* Disconnect from bus */ unsigned data[] = {4}; write_periph_32(usb_tile, XS2_SU_PERIPH_USB_ID, XS1_GLX_PER_UIFM_FUNC_CONTROL_NUM, 1, data); +#elif defined(__XS3A__) + #warning Assuming that tile reset also resets USB in XS3 architectures #endif tileArrayLength = sizeof(tile)/sizeof(tileref);