Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
3f484978
Commit
3f484978
authored
May 10, 2009
by
Dean Camera
Browse files
Fix broken Set Feature/Clear Feature chapter 9 request (incorrect status stage clearing).
Commit for the 090510 release.
parent
1f83abe6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Demos/Device/CDC/Descriptors.c
View file @
3f484978
...
...
@@ -51,7 +51,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.
SubClass
=
0x00
,
.
Protocol
=
0x00
,
.
Endpoint0Size
=
8
,
//
FIXED_CONTROL_ENDPOINT_SIZE,
.
Endpoint0Size
=
FIXED_CONTROL_ENDPOINT_SIZE
,
.
VendorID
=
0x03EB
,
.
ProductID
=
0x2044
,
...
...
LUFA/Drivers/USB/LowLevel/DevChapter9.c
View file @
3f484978
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment