forked from PAWPAW-Mirror/lib_xua
Unused var build warning
This commit is contained in:
@@ -11,7 +11,6 @@ void device_reboot_implementation(chanend spare)
|
|||||||
#ifdef ARCH_S
|
#ifdef ARCH_S
|
||||||
/* Disconnect from bus */
|
/* Disconnect from bus */
|
||||||
unsigned data[] = {4};
|
unsigned data[] = {4};
|
||||||
unsigned x;
|
|
||||||
write_periph_32(xs1_su, XS1_SU_PERIPH_USB_ID, XS1_SU_PER_UIFM_FUNC_CONTROL_NUM, 1, data);
|
write_periph_32(xs1_su, 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 */
|
/* Ideally we would reset SU1 here but then we loose power to the xcore and therefore the DFU flag */
|
||||||
|
|||||||
Reference in New Issue
Block a user