aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host')
-rw-r--r--Demos/Host/CDCHost/CDCHost.txt6
-rw-r--r--Demos/Host/GenericHIDHost/GenericHIDHost.txt4
-rw-r--r--Demos/Host/KeyboardHost/KeyboardHost.txt4
-rw-r--r--Demos/Host/MouseHost/MouseHost.txt4
-rw-r--r--Demos/Host/StillImageHost/StillImageCommands.c4
-rw-r--r--Demos/Host/StillImageHost/StillImageCommands.h2
-rw-r--r--Demos/Host/StillImageHost/StillImageHost.c2
7 files changed, 13 insertions, 13 deletions
diff --git a/Demos/Host/CDCHost/CDCHost.txt b/Demos/Host/CDCHost/CDCHost.txt
index 39e2357ba..4fac1d03d 100644
--- a/Demos/Host/CDCHost/CDCHost.txt
+++ b/Demos/Host/CDCHost/CDCHost.txt
@@ -42,8 +42,8 @@
*
* Not that this demo is only compatible with devices which report the correct CDC
* and ACM class, subclass and protocol values. Most USB-Serial cables have vendor
- * specific features, thus use vendor-specfic class/subclass/protocol codes to force
- * the user to use specialized drivers. This demo is not compaible with such devices.
+ * specific features, thus use vendor-specific class/subclass/protocol codes to force
+ * the user to use specialized drivers. This demo is not compatible with such devices.
*
* \section SSec_Options Project Options
*
@@ -56,4 +56,4 @@
* </td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/GenericHIDHost/GenericHIDHost.txt b/Demos/Host/GenericHIDHost/GenericHIDHost.txt
index 0b70bfa28..41174172a 100644
--- a/Demos/Host/GenericHIDHost/GenericHIDHost.txt
+++ b/Demos/Host/GenericHIDHost/GenericHIDHost.txt
@@ -36,7 +36,7 @@
* \section SSec_Description Project Description:
*
* Generic HID host demonstration application. This gives a simple reference
- * application for implementing a Genric HID USB host, for any device implementing
+ * application for implementing a Generic HID USB host, for any device implementing
* the HID profile.
*
* Received reports from the attached device are printed to the serial port.
@@ -59,4 +59,4 @@
* serviced via polling using the task scheduler.</td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/KeyboardHost/KeyboardHost.txt b/Demos/Host/KeyboardHost/KeyboardHost.txt
index 8abe99f23..455c2d28b 100644
--- a/Demos/Host/KeyboardHost/KeyboardHost.txt
+++ b/Demos/Host/KeyboardHost/KeyboardHost.txt
@@ -45,7 +45,7 @@
* This uses a naive method where the keyboard is set to Boot Protocol mode, so
* that the report structure is fixed and known. A better implementation
* uses the HID report parser for correct report data processing across
- * all compatable mice with advanced characteristics, as shown in the
+ * all compatible mice with advanced characteristics, as shown in the
* KeyboardHostWithParser demo application.
*
* Currently only single interface keyboards are supported.
@@ -68,4 +68,4 @@
* serviced via polling using the task scheduler.</td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/MouseHost/MouseHost.txt b/Demos/Host/MouseHost/MouseHost.txt
index d36c7313e..118ca9d8a 100644
--- a/Demos/Host/MouseHost/MouseHost.txt
+++ b/Demos/Host/MouseHost/MouseHost.txt
@@ -46,7 +46,7 @@
* This uses a naive method where the mouse is set to Boot Protocol mode, so
* that the report structure is fixed and known. A better implementation
* uses the HID report parser for correct report data processing across
- * all compatable mice with advanced characteristics, as shown in the
+ * all compatible mice with advanced characteristics, as shown in the
* MouseHostWithParser demo application.
*
* Currently only single interface mice are supported.
@@ -69,4 +69,4 @@
* serviced via polling using the task scheduler.</td>
* </tr>
* </table>
- */ \ No newline at end of file
+ */
diff --git a/Demos/Host/StillImageHost/StillImageCommands.c b/Demos/Host/StillImageHost/StillImageCommands.c
index ebf20b0b2..a12785743 100644
--- a/Demos/Host/StillImageHost/StillImageCommands.c
+++ b/Demos/Host/StillImageHost/StillImageCommands.c
@@ -261,14 +261,14 @@ bool SImage_IsEventReceived(void)
*
* \return A value from the USB_Host_SendControlErrorCodes_t enum
*/
-uint8_t SImage_ClearPipeStall(const uint8_t PipeEndpointNum)
+uint8_t SImage_ClearPipeStall(const uint8_t EndpointNum)
{
USB_HostRequest = (USB_Host_Request_Header_t)
{
bmRequestType: (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_ENDPOINT),
bRequest: REQ_ClearFeature,
wValue: FEATURE_ENDPOINT_HALT,
- wIndex: PipeEndpointNum,
+ wIndex: EndpointNum,
wLength: 0,
};
diff --git a/Demos/Host/StillImageHost/StillImageCommands.h b/Demos/Host/StillImageHost/StillImageCommands.h
index 38bbadf70..ad0ba55a2 100644
--- a/Demos/Host/StillImageHost/StillImageCommands.h
+++ b/Demos/Host/StillImageHost/StillImageCommands.h
@@ -105,6 +105,6 @@
void SImage_SendData(void* Buffer, uint16_t Bytes);
uint8_t SImage_ReadData(void* Buffer, uint16_t Bytes);
bool SImage_IsEventReceived(void);
- uint8_t SImage_ClearPipeStall(const uint8_t PipeEndpointNum);
+ uint8_t SImage_ClearPipeStall(const uint8_t EndpointNum);
#endif
diff --git a/Demos/Host/StillImageHost/StillImageHost.c b/Demos/Host/StillImageHost/StillImageHost.c
index d9dd7ce3f..3e5bf6a78 100644
--- a/Demos/Host/StillImageHost/StillImageHost.c
+++ b/Demos/Host/StillImageHost/StillImageHost.c
@@ -417,7 +417,7 @@ void UpdateStatus(uint8_t CurrentStatus)
/** Displays a PIMA command error via the device's serial port.
*
* \param ErrorCode Error code of the function which failed to complete successfully
- * \param ResponseErrorCode Indicates if the error is due to a command failed indication from the device, or a communication failure
+ * \param ResponseCodeError Indicates if the error is due to a command failed indication from the device, or a communication failure
*/
void ShowCommandError(uint8_t ErrorCode, bool ResponseCodeError)
{