Skip to content

Commit 3773d60

Browse files
committed
fix typos
1 parent 981dc98 commit 3773d60

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

examples/device/cdc_msc/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ uint8_t const *tud_descriptor_other_speed_configuration_cb(uint8_t index) {
184184
(void) index; // for multiple configurations
185185

186186
// if link speed is high return fullspeed config, and vice versa
187-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
187+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
188188
memcpy(desc_other_speed_config,
189189
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration : desc_hs_configuration,
190190
CONFIG_TOTAL_LEN);

examples/device/cdc_msc_freertos/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ uint8_t const* tud_descriptor_other_speed_configuration_cb(uint8_t index) {
186186
(void) index; // for multiple configurations
187187

188188
// if link speed is high return fullspeed config, and vice versa
189-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
189+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
190190
memcpy(desc_other_speed_config,
191191
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration : desc_hs_configuration,
192192
CONFIG_TOTAL_LEN);

examples/device/cdc_uac2/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ uint8_t const *tud_descriptor_other_speed_configuration_cb(uint8_t index) {
176176
(void) index; // for multiple configurations
177177

178178
// if link speed is high return fullspeed config, and vice versa
179-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
179+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
180180
memcpy(desc_other_speed_config,
181181
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration : desc_hs_configuration,
182182
CONFIG_TOTAL_LEN);

examples/device/hid_composite/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ uint8_t const* tud_descriptor_other_speed_configuration_cb(uint8_t index)
154154
{
155155
(void) index; // for multiple configurations
156156

157-
// other speed config is basically configuration with type = OHER_SPEED_CONFIG
157+
// other speed config is basically configuration with type = OTHER_SPEED_CONFIG
158158
memcpy(desc_other_speed_config, desc_configuration, CONFIG_TOTAL_LEN);
159159
desc_other_speed_config[1] = TUSB_DESC_OTHER_SPEED_CONFIG;
160160

examples/device/hid_composite_freertos/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ uint8_t const* tud_descriptor_other_speed_configuration_cb(uint8_t index)
153153
{
154154
(void) index; // for multiple configurations
155155

156-
// other speed config is basically configuration with type = OHER_SPEED_CONFIG
156+
// other speed config is basically configuration with type = OTHER_SPEED_CONFIG
157157
memcpy(desc_other_speed_config, desc_configuration, CONFIG_TOTAL_LEN);
158158
desc_other_speed_config[1] = TUSB_DESC_OTHER_SPEED_CONFIG;
159159

examples/device/mtp/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ uint8_t const *tud_descriptor_other_speed_configuration_cb(uint8_t index) {
161161
(void) index; // for multiple configurations
162162

163163
// if link speed is high return fullspeed config, and vice versa
164-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
164+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
165165
memcpy(desc_other_speed_config,
166166
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration : desc_hs_configuration,
167167
CONFIG_TOTAL_LEN);

examples/dual/host_hid_to_device_cdc/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ uint8_t const* tud_descriptor_other_speed_configuration_cb(uint8_t index) {
175175
(void) index; // for multiple configurations
176176

177177
// if link speed is high return fullspeed config, and vice versa
178-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
178+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
179179
memcpy(desc_other_speed_config,
180180
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration : desc_hs_configuration,
181181
CONFIG_TOTAL_LEN);

examples/dual/host_info_to_device_cdc/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ uint8_t const* tud_descriptor_other_speed_configuration_cb(uint8_t index) {
175175
(void) index; // for multiple configurations
176176

177177
// if link speed is high return fullspeed config, and vice versa
178-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
178+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
179179
memcpy(desc_other_speed_config,
180180
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration : desc_hs_configuration,
181181
CONFIG_TOTAL_LEN);

test/fuzz/device/cdc/src/usb_descriptors.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ uint8_t const *tud_descriptor_other_speed_configuration_cb(uint8_t index) {
148148
(void)index; // for multiple configurations
149149

150150
// if link speed is high return fullspeed config, and vice versa
151-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
151+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
152152
memcpy(desc_other_speed_config,
153153
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration
154154
: desc_hs_configuration,

test/fuzz/device/msc/src/usb_descriptors.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ uint8_t const *tud_descriptor_other_speed_configuration_cb(uint8_t index) {
142142
(void)index; // for multiple configurations
143143

144144
// if link speed is high return fullspeed config, and vice versa
145-
// Note: the descriptor type is OHER_SPEED_CONFIG instead of CONFIG
145+
// Note: the descriptor type is OTHER_SPEED_CONFIG instead of CONFIG
146146
memcpy(desc_other_speed_config,
147147
(tud_speed_get() == TUSB_SPEED_HIGH) ? desc_fs_configuration
148148
: desc_hs_configuration,

0 commit comments

Comments
 (0)