Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling configuraiton->configuration #2025

Merged
merged 1 commit into from
Apr 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/device/dynamic_configuration/src/usb_descriptors.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ uint8_t const desc_configuration_0[] =
};


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

//--------------------------------------------------------------------+
Expand Down