Extract interface numbers into enums.
[pub/lufa.git] / Projects / Magstripe / Magstripe.c
index 8dba737..a0b6f1b 100644 (file)
@@ -56,7 +56,7 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
        {
                .Config =
                        {
-                               .InterfaceNumber            = 0,
+                               .InterfaceNumber            = INTERFACE_ID_Keyboard,
                                .ReportINEndpoint           =
                                        {
                                                .Address            = KEYBOARD_EPADDR,