summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorBastien Nocera <[email protected]>2022-12-04 13:58:47 +0700
committerhathach <[email protected]>2022-12-04 19:43:23 +0700
commit6a2cf6728906aa61b44ecfe43b4ceef287b29bf8 (patch)
tree51b6d5483c8e7d0f605411c574fc5f8bc9035e05 /src/class/cdc
parentf24f47d03849874b8c3ad442aa14f6565e205c47 (diff)
Fix typos
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc.h2
-rw-r--r--src/class/cdc/cdc_rndis_host.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/cdc/cdc.h b/src/class/cdc/cdc.h
index e345139ea..c428af865 100644
--- a/src/class/cdc/cdc.h
+++ b/src/class/cdc/cdc.h
@@ -193,7 +193,7 @@ typedef enum
}cdc_management_request_t;
//--------------------------------------------------------------------+
-// Management Elemenent Notification (Notification Endpoint)
+// Management Element Notification (Notification Endpoint)
//--------------------------------------------------------------------+
/// 6.3 Notification Codes
diff --git a/src/class/cdc/cdc_rndis_host.c b/src/class/cdc/cdc_rndis_host.c
index 8f28f51ac..44de85b45 100644
--- a/src/class/cdc/cdc_rndis_host.c
+++ b/src/class/cdc/cdc_rndis_host.c
@@ -117,7 +117,7 @@ void rndish_init(void)
//------------- Task creation -------------//
- //------------- semaphore creation for notificaiton pipe -------------//
+ //------------- semaphore creation for notification pipe -------------//
for(uint8_t i=0; i<CFG_TUH_DEVICE_MAX; i++)
{
rndish_data[i].sem_notification_hdl = osal_semaphore_create( OSAL_SEM_REF(rndish_data[i].semaphore_notification) );