Skip to content
GitLab
Menu
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
92418433
Commit
92418433
authored
Mar 09, 2010
by
Dean Camera
Browse files
Fix incorrect LED mask name in the Webserver project.
Fix missing text from the Host Mode States enum documentation.
parent
ce260ae7
Changes
3
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/LowLevel/Host.c
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
)
{
...
...
LUFA/Drivers/USB/LowLevel/Host.h
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.
*/
...
...
Projects/Webserver/Lib/uIPManagement.c
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. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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