Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
ab602a8b
Commit
ab602a8b
authored
15 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
parent
a04131cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
+1
-1
1 addition, 1 deletion
Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
LUFA/Drivers/USB/Class/Host/CDC.c
+2
-2
2 additions, 2 deletions
LUFA/Drivers/USB/Class/Host/CDC.c
with
3 additions
and
3 deletions
Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
+
1
−
1
View file @
ab602a8b
...
...
@@ -81,7 +81,7 @@ void SImage_SendBlockHeader(void)
/** Function to receive a PIMA event container from the attached still image device.
*
* \return A value from the Pipe_Stream_RW_ErrorCodes_t enum
/
*
/
uint8_t
SImage_ReceiveEventHeader
(
void
)
{
uint8_t
ErrorCode
;
...
...
This diff is collapsed.
Click to expand it.
LUFA/Drivers/USB/Class/Host/CDC.c
+
2
−
2
View file @
ab602a8b
...
...
@@ -112,7 +112,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
{
if
(
Pipe_IsEndpointBound
(
EndpointData
->
EndpointAddress
))
{
BidirectionalDataEndpoints
=
true
;
CDCInterfaceInfo
->
State
.
BidirectionalDataEndpoints
=
true
;
Pipe_DisablePipe
();
}
...
...
@@ -127,7 +127,7 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo
{
if
(
Pipe_IsEndpointBound
(
EndpointData
->
EndpointAddress
))
{
BidirectionalDataEndpoints
=
true
;
CDCInterfaceInfo
->
State
.
BidirectionalDataEndpoints
=
true
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment