Fixed incorrectly issuing STALL response to unsupported control request SETUP packets, rather than in the data/status stage.
This commit is contained in:
1 parent
5937a134ab
commit
22b04429e6
3 files changed
+3
-1
No files matched your search
@@ -117,8 +117,8 @@ void USB_Device_ProcessControlRequest(void)
|
||||
|
||||
if (Endpoint_IsSETUPReceived())
|
||||
{
|
||||
Endpoint_StallTransaction();
|
||||
Endpoint_ClearSETUP();
|
||||
Endpoint_StallTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user