forked from PAWPAW-Mirror/lib_xua
Removed extra channel comms during dfu reboot.
This commit is contained in:
@@ -62,11 +62,11 @@ void device_reboot_aux(void)
|
|||||||
void device_reboot(chanend spare)
|
void device_reboot(chanend spare)
|
||||||
{
|
{
|
||||||
#if (XUD_SERIES_SUPPORT != XUD_U_SERIES)
|
#if (XUD_SERIES_SUPPORT != XUD_U_SERIES)
|
||||||
outct(spare, XS1_CT_END); // have to do this before freeing the chanend
|
//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
|
//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 */
|
/* 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
|
#endif
|
||||||
device_reboot_aux();
|
device_reboot_aux();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user