Removed extra channel comms during dfu reboot.

This commit is contained in:
Ross Owen
2015-06-30 14:16:28 +01:00
parent 9aff164b70
commit 2b8419d7fb

View File

@@ -62,11 +62,11 @@ void device_reboot_aux(void)
void device_reboot(chanend spare)
{
#if (XUD_SERIES_SUPPORT != XUD_U_SERIES)
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
//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
/* Need a spare chanend so we can talk to the pll register */
asm("freer res[%0]"::"r"(spare));
//asm("freer res[%0]"::"r"(spare));
#endif
device_reboot_aux();