From ec63bf70de6111a739e05d33d2d49287443c187f Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 19 Feb 2013 15:25:52 +0000 Subject: [PATCH] Unused var build warning --- module_usb_audio/reboot.xc | 1 - 1 file changed, 1 deletion(-) diff --git a/module_usb_audio/reboot.xc b/module_usb_audio/reboot.xc index ef0d93b5..920ab879 100644 --- a/module_usb_audio/reboot.xc +++ b/module_usb_audio/reboot.xc @@ -11,7 +11,6 @@ void device_reboot_implementation(chanend spare) #ifdef ARCH_S /* Disconnect from bus */ unsigned data[] = {4}; - unsigned x; 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 */