Fix broken Set Feature/Clear Feature chapter 9 request (incorrect status stage clearing).
Commit for the 090510 release.
This commit is contained in:
parent
1f83abe6f4
commit
3f48497874
2 changed files with 2 additions and 7 deletions
|
@ -118,8 +118,6 @@ static void USB_Device_SetAddress(void)
|
|||
{
|
||||
Endpoint_ClearSETUP();
|
||||
|
||||
while (!(Endpoint_IsINReady()));
|
||||
|
||||
Endpoint_ClearIN();
|
||||
|
||||
while (!(Endpoint_IsINReady()));
|
||||
|
@ -299,7 +297,7 @@ static void USB_Device_ClearSetFeature(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
Endpoint_StallTransaction();
|
||||
Endpoint_StallTransaction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -313,9 +311,6 @@ static void USB_Device_ClearSetFeature(void)
|
|||
Endpoint_ClearSETUP();
|
||||
|
||||
Endpoint_ClearIN();
|
||||
|
||||
while (!(Endpoint_IsOUTReceived()));
|
||||
Endpoint_ClearOUT();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue