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
d6edfe35
Commit
d6edfe35
authored
Nov 09, 2009
by
Dean Camera
Browse files
Spell check all source code variables, comments and strings.
parent
c647c276
Changes
66
Hide whitespace changes
Inline
Side-by-side
Bootloaders/CDC/BootloaderCDC.c
View file @
d6edfe35
...
...
@@ -343,7 +343,7 @@ static void WriteNextResponseByte(const uint8_t Response)
/* Select the IN endpoint so that the next data byte can be written */
Endpoint_SelectEndpoint
(
CDC_TX_EPNUM
);
/* If IN endpoint full, clear it and wait util ready for the next packet to the host */
/* If IN endpoint full, clear it and wait u
n
til ready for the next packet to the host */
if
(
!
(
Endpoint_IsReadWriteAllowed
()))
{
Endpoint_ClearIN
();
...
...
Bootloaders/CDC/BootloaderCDC.h
View file @
d6edfe35
...
...
@@ -104,7 +104,7 @@
};
/** Enum for the possible parity modes on a CDC-ACM virtual serial port */
enum
BootloaderCDC_CDC_LineCod
e
ingParity_t
enum
BootloaderCDC_CDC_LineCodingParity_t
{
Parity_None
=
0
,
/**< No data parity checking */
Parity_Odd
=
1
,
/**< Odd data parity checking */
...
...
Bootloaders/DFU/Descriptors.c
View file @
d6edfe35
...
...
@@ -108,7 +108,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
.
Attributes
=
(
ATTR_CAN_UPLOAD
|
ATTR_CAN_DOWNLOAD
),
.
Deta
t
chTimeout
=
0x0000
,
.
DetachTimeout
=
0x0000
,
.
TransferSize
=
0x0c00
,
.
DFUSpecification
=
VERSION_BCD
(
01
.
01
)
...
...
Bootloaders/DFU/Descriptors.h
View file @
d6edfe35
...
...
@@ -137,7 +137,7 @@
uint8_t
Attributes
;
/**< DFU device attributes, a mask comprising of the
* ATTR_* macros listed in this source file
*/
uint16_t
Deta
t
chTimeout
;
/**< Timeout in milliseconds between a USB_DETACH
uint16_t
DetachTimeout
;
/**< Timeout in milliseconds between a USB_DETACH
* command being issued and the device detaching
* from the USB bus
*/
...
...
Bootloaders/Incomplete/MIDI/Descriptors.h
View file @
d6edfe35
...
...
@@ -113,7 +113,7 @@
USB_Descriptor_Endpoint_t
Endpoint
;
/**< Standard endpoint descriptor describing the audio endpoint */
uint8_t
Refresh
;
/**< Always set to zero */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
s
ation information to, if needed (zero otherwise) */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
z
ation information to, if needed (zero otherwise) */
}
USB_Audio_StreamEndpoint_Std_t
;
/** Type define for an Audio class specific MIDI IN jack. This gives information to the host on a MIDI input, either
...
...
Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h
View file @
d6edfe35
...
...
@@ -88,7 +88,7 @@
union
{
uint16_t
EtherType
;
/**< Ethernet packet subprotocol type, for Ethernet V2 packets */
uint16_t
EtherType
;
/**< Ethernet packet sub
-
protocol type, for Ethernet V2 packets */
uint16_t
Length
;
/**< Ethernet frame length, for Ethernet V1 packets */
};
}
Ethernet_Frame_Header_t
;
...
...
Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.c
View file @
d6edfe35
...
...
@@ -40,7 +40,7 @@
/** Processes an ICMP packet inside an Ethernet frame, and writes the appropriate response
* to the output Ethernet frame if the host is issuing a ICMP ECHO request.
*
* \param[in] FrameIN Pointer to the incom
m
ing Ethernet frame information structure
* \param[in] FrameIN Pointer to the incoming Ethernet frame information structure
* \param[in] InDataStart Pointer to the start of the incoming packet's ICMP header
* \param[out] OutDataStart Pointer to the start of the outgoing packet's ICMP header
*
...
...
Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.c
View file @
d6edfe35
...
...
@@ -37,9 +37,9 @@
#include
"IP.h"
/** Processes an IP packet inside an Ethernet frame, and writes the appropriate response
* to the output Ethernet frame if one is created by a subprotocol handler.
* to the output Ethernet frame if one is created by a sub
-
protocol handler.
*
* \param[in] FrameIN Pointer to the incom
m
ing Ethernet frame information structure
* \param[in] FrameIN Pointer to the incoming Ethernet frame information structure
* \param[in] InDataStart Pointer to the start of the incoming packet's IP header
* \param[out] OutDataStart Pointer to the start of the outgoing packet's IP header
*
...
...
Demos/Device/ClassDriver/RNDISEthernet/Lib/UDP.c
View file @
d6edfe35
...
...
@@ -38,7 +38,7 @@
#include
"UDP.h"
/** Processes a UDP packet inside an Ethernet frame, and writes the appropriate response
* to the output Ethernet frame if a subprotocol handler has created a response packet.
* to the output Ethernet frame if a sub
-
protocol handler has created a response packet.
*
* \param[in] IPHeaderInStart Pointer to the start of the incoming packet's IP header
* \param[in] UDPHeaderInStart Pointer to the start of the incoming packet's UDP header
...
...
Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c
View file @
d6edfe35
...
...
@@ -31,7 +31,7 @@
/** \file
*
* Simple webserver application for demonstrating the RNDIS demo and TCP/IP stack. This
* application will serve up a static HTTP webpage when requested by the host.
* application will serve up a static HTTP web
page when requested by the host.
*/
#include
"Webserver.h"
...
...
Demos/Device/Incomplete/Sideshow/Sideshow.c
View file @
d6edfe35
...
...
@@ -37,7 +37,7 @@
appear as a new SideShow device which can have gadgets loaded onto
it.
Note that while the incom
m
ing content is buffered in packet struct
Note that while the incoming content is buffered in packet struct
form, the data is not actually displayed. It is left to the user to
write sufficient code to read out the packed data for display to a
screen.
...
...
Demos/Device/LowLevel/AudioInput/Descriptors.h
View file @
d6edfe35
...
...
@@ -274,7 +274,7 @@
USB_Descriptor_Endpoint_t
Endpoint
;
/**< Standard endpoint descriptor describing the audio endpoint */
uint8_t
Refresh
;
/**< Always set to zero */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
s
ation information to, if needed (zero otherwise) */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
z
ation information to, if needed (zero otherwise) */
}
USB_Audio_StreamEndpoint_Std_t
;
/** Type define for an Audio class specific extended endpoint descriptor. This contains extra information
...
...
Demos/Device/LowLevel/AudioOutput/Descriptors.h
View file @
d6edfe35
...
...
@@ -274,7 +274,7 @@
USB_Descriptor_Endpoint_t
Endpoint
;
/**< Standard endpoint descriptor describing the audio endpoint */
uint8_t
Refresh
;
/**< Always set to zero */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
s
ation information to, if needed (zero otherwise) */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
z
ation information to, if needed (zero otherwise) */
}
USB_Audio_StreamEndpoint_Std_t
;
/** Type define for an Audio class specific extended endpoint descriptor. This contains extra information
...
...
Demos/Device/LowLevel/MIDI/Descriptors.h
View file @
d6edfe35
...
...
@@ -113,7 +113,7 @@
USB_Descriptor_Endpoint_t
Endpoint
;
/**< Standard endpoint descriptor describing the audio endpoint */
uint8_t
Refresh
;
/**< Always set to zero */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
s
ation information to, if needed (zero otherwise) */
uint8_t
SyncEndpointNumber
;
/**< Endpoint address to send synchroni
z
ation information to, if needed (zero otherwise) */
}
USB_Audio_StreamEndpoint_Std_t
;
/** Type define for an Audio class specific MIDI IN jack. This gives information to the host on a MIDI input, either
...
...
Demos/Device/LowLevel/MassStorage/Lib/SCSI.c
View file @
d6edfe35
...
...
@@ -84,7 +84,7 @@ SCSI_Request_Sense_Response_t SenseData =
* to the appropriate SCSI command handling routine if the issued command is supported by the device, else it returns
* a command failure due to a ILLEGAL REQUEST.
*
* \return Boolean true if the command completed sucessfully, false otherwise
* \return Boolean true if the command completed suc
c
essfully, false otherwise
*/
bool
SCSI_DecodeSCSICommand
(
void
)
{
...
...
Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.c
View file @
d6edfe35
...
...
@@ -31,7 +31,7 @@
/** \file
*
* Ethernet frame packet handling routines. This protocol handles the processing of raw Ethernet
* frames sent and received, deferring the processing of subpacket protocols to the appropriate
* frames sent and received, deferring the processing of sub
-
packet protocols to the appropriate
* protocol handlers, such as DHCP or ARP.
*/
...
...
Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
View file @
d6edfe35
...
...
@@ -97,7 +97,7 @@
union
{
uint16_t
EtherType
;
/**< Ethernet packet subprotocol type, for Ethernet V2 packets */
uint16_t
EtherType
;
/**< Ethernet packet sub
-
protocol type, for Ethernet V2 packets */
uint16_t
Length
;
/**< Ethernet frame length, for Ethernet V1 packets */
};
}
Ethernet_Frame_Header_t
;
...
...
Demos/Device/LowLevel/RNDISEthernet/Lib/IP.c
View file @
d6edfe35
...
...
@@ -37,7 +37,7 @@
#include
"IP.h"
/** Processes an IP packet inside an Ethernet frame, and writes the appropriate response
* to the output Ethernet frame if one is created by a subprotocol handler.
* to the output Ethernet frame if one is created by a sub
-
protocol handler.
*
* \param[in] InDataStart Pointer to the start of the incoming packet's IP header
* \param[out] OutDataStart Pointer to the start of the outgoing packet's IP header
...
...
Demos/Device/LowLevel/RNDISEthernet/Lib/UDP.c
View file @
d6edfe35
...
...
@@ -38,7 +38,7 @@
#include
"UDP.h"
/** Processes a UDP packet inside an Ethernet frame, and writes the appropriate response
* to the output Ethernet frame if a subprotocol handler has created a response packet.
* to the output Ethernet frame if a sub
-
protocol handler has created a response packet.
*
* \param[in] IPHeaderInStart Pointer to the start of the incoming packet's IP header
* \param[in] UDPHeaderInStart Pointer to the start of the incoming packet's UDP header
...
...
Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
View file @
d6edfe35
...
...
@@ -263,7 +263,7 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* CurrentItem)
/* Iterate through the item's collection path, until either the root collection node or a collection with the
* Joystick Usage is found - this prevents Mice, which use identical descriptors except for the Joystick usage
* parent node, from being erronously treated as a joystick
* parent node, from being erron
e
ously treated as a joystick
*/
for
(
HID_CollectionPath_t
*
CurrPath
=
CurrentItem
->
CollectionPath
;
CurrPath
!=
NULL
;
CurrPath
=
CurrPath
->
Parent
)
{
...
...
Prev
1
2
3
4
Next
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