forked from PAWPAW-Mirror/lib_xua
g_curStreamAlt_Out reset to 0 on bus reset. Fixes issue when input packets were incorrectly sized on bus-speed change.
This commit is contained in:
@@ -653,6 +653,7 @@ void Endpoint0(chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
|||||||
g_curUsbSpeed = XUD_ResetEndpoint(ep0_out, &ep0_in);
|
g_curUsbSpeed = XUD_ResetEndpoint(ep0_out, &ep0_in);
|
||||||
#endif
|
#endif
|
||||||
g_currentConfig = 0;
|
g_currentConfig = 0;
|
||||||
|
g_curStreamAlt_Out = 0;
|
||||||
|
|
||||||
#ifdef DFU
|
#ifdef DFU
|
||||||
if (DFUReportResetState(null))
|
if (DFUReportResetState(null))
|
||||||
|
|||||||
Reference in New Issue
Block a user