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

@@ -17,7 +17,7 @@ static usb_device_endpoint_struct_t UsbGenericHidEndpoints[USB_GENERIC_HID_ENDPO
};
static usb_device_interface_struct_t UsbGenericHidInterface[] = {{
USB_GENERIC_HID_INTERFACE_ALTERNATE_SETTING,
USB_INTERFACE_ALTERNATE_SETTING_NONE,
{USB_GENERIC_HID_ENDPOINT_COUNT, UsbGenericHidEndpoints},
NULL,
}};