X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cd3aae87daa243413413ab9fc4e32c225c3bea03..9ef29ea2293dde7225360fe258224d22d3a68756:/Demos/Device/ClassDriver/Joystick/Joystick.c?ds=sidebyside diff --git a/Demos/Device/ClassDriver/Joystick/Joystick.c b/Demos/Device/ClassDriver/Joystick/Joystick.c index 809c41060..bbe85584a 100644 --- a/Demos/Device/ClassDriver/Joystick/Joystick.c +++ b/Demos/Device/ClassDriver/Joystick/Joystick.c @@ -47,7 +47,7 @@ USB_ClassInfo_HID_Device_t Joystick_HID_Interface = { .Config = { - .InterfaceNumber = 0, + .InterfaceNumber = INTERFACE_ID_Joystick, .ReportINEndpoint = { .Address = JOYSTICK_EPADDR,