Skip to content

Commit 16ed10a

Browse files
committed
Fix spelling configuraiton->configuration
1 parent 28817a7 commit 16ed10a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/device/dynamic_configuration/src/usb_descriptors.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ uint8_t const desc_configuration_0[] =
183183
};
184184

185185

186-
uint8_t const desc_configuraiton_1[] =
186+
uint8_t const desc_configuration_1[] =
187187
{
188188
// Config number, interface count, string index, total length, attribute, power in mA
189189
TUD_CONFIG_DESCRIPTOR(1, ITF_1_NUM_TOTAL, 0, CONFIG_1_TOTAL_LEN, 0x00, 100),
@@ -199,7 +199,7 @@ uint8_t const desc_configuraiton_1[] =
199199
uint8_t const * tud_descriptor_configuration_cb(uint8_t index)
200200
{
201201
(void) index; // for multiple configurations
202-
return mode ? desc_configuraiton_1 : desc_configuration_0;
202+
return mode ? desc_configuration_1 : desc_configuration_0;
203203
}
204204

205205
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)