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
92418433
Commit
92418433
authored
15 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Fix incorrect LED mask name in the Webserver project.
Fix missing text from the Host Mode States enum documentation.
parent
ce260ae7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
LUFA/Drivers/USB/LowLevel/Host.c
+1
-1
1 addition, 1 deletion
LUFA/Drivers/USB/LowLevel/Host.c
LUFA/Drivers/USB/LowLevel/Host.h
+4
-2
4 additions, 2 deletions
LUFA/Drivers/USB/LowLevel/Host.h
Projects/Webserver/Lib/uIPManagement.c
+1
-1
1 addition, 1 deletion
Projects/Webserver/Lib/uIPManagement.c
with
6 additions
and
4 deletions
LUFA/Drivers/USB/LowLevel/Host.c
+
1
−
1
View file @
92418433
...
...
@@ -309,7 +309,7 @@ uint8_t USB_Host_GetDeviceDescriptor(void* const DeviceDescriptorPtr)
return
USB_Host_SendControlRequest
(
DeviceDescriptorPtr
);
}
uint8_t
USB_Host_GetDeviceStringDescriptor
(
uint8_t
Index
,
void
*
const
Buffer
,
uint8_t
BufferLength
)
uint8_t
USB_Host_GetDeviceStringDescriptor
(
const
uint8_t
Index
,
void
*
const
Buffer
,
const
uint8_t
BufferLength
)
{
USB_ControlRequest
=
(
USB_Request_Header_t
)
{
...
...
This diff is collapsed.
Click to expand it.
LUFA/Drivers/USB/LowLevel/Host.h
+
4
−
2
View file @
92418433
...
...
@@ -220,7 +220,7 @@
*
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result.
*/
uint8_t
USB_Host_GetDeviceStringDescriptor
(
uint8_t
Index
,
void
*
const
Buffer
,
uint8_t
BufferLength
);
uint8_t
USB_Host_GetDeviceStringDescriptor
(
const
uint8_t
Index
,
void
*
const
Buffer
,
const
uint8_t
BufferLength
);
/** Clears a stall condition on the given pipe, via a ClearFeature request to the attached device.
*
...
...
@@ -236,7 +236,9 @@
/** Enum for the various states of the USB Host state machine. Only some states are
* implemented in the LUFA library - other states are left to the user to implement.
*
* For information on each state, refer to the USB 2.0 specification. Some states have
* For information on each possible USB host state, refer to the USB 2.0 specification.
* Several of the USB host states are broken up further into multiple smaller sub-states,
* so that they can be internally implemented inside the library in an efficient manner.
*
* \see \ref USB_HostState, which stores the current host state machine state.
*/
...
...
This diff is collapsed.
Click to expand it.
Projects/Webserver/Lib/uIPManagement.c
+
1
−
1
View file @
92418433
...
...
@@ -172,7 +172,7 @@ static void uIPManagement_ProcessIncomingPacket(void)
}
}
LEDs_SetAllLEDs
(
LEDMASK_USB_READY
|
((
HaveIPConfiguration
)
?
LEDMASK_UIP_READY
:
LEDMASK_UIP_READY_NOCONFIG
));
LEDs_SetAllLEDs
(
LEDMASK_USB_READY
|
((
HaveIPConfiguration
)
?
LEDMASK_UIP_READY
_CONFIG
:
LEDMASK_UIP_READY_NOCONFIG
));
}
/** Manages the currently open network connections, including TCP and (if enabled) UDP. */
...
...
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