Use USB_INTERFACE_ALTERNATE_SETTING_NONE wherever possible.

This commit is contained in:
László Monda
2016-03-03 21:01:14 +01:00
parent f7755b2520
commit 09e0a739e3
6 changed files with 3 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ static usb_device_endpoint_struct_t UsbKeyboardEndpoints[USB_KEYBOARD_ENDPOINT_C
}};
static usb_device_interface_struct_t UsbKeyboardInterface[] = {{
USB_KEYBOARD_INTERFACE_ALTERNATE_SETTING,
USB_INTERFACE_ALTERNATE_SETTING_NONE,
{USB_KEYBOARD_ENDPOINT_COUNT, UsbKeyboardEndpoints},
NULL,
}};