Use USB_DEVICE_CONFIG_HID as a single source of truth and replace USB_COMPOSITE_INTERFACE_COUNT with it.

This commit is contained in:
László Monda
2016-03-03 23:55:58 +01:00
parent 22e36dc030
commit a988afe1ea
8 changed files with 11 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
class_handle_t genericHidHandle;
uint8_t attach;
uint8_t currentConfiguration;
uint8_t currentInterfaceAlternateSetting[USB_COMPOSITE_INTERFACE_COUNT];
uint8_t currentInterfaceAlternateSetting[USB_DEVICE_CONFIG_HID];
} usb_composite_device_t;
// Variables: