State information for class drivers is now zeroed out during enumeration (both in...
[pub/USBasp.git] / Demos / Device / ClassDriver / Joystick / Joystick.c
index 1e13e99..9a1080c 100644 (file)
@@ -51,11 +51,6 @@ USB_ClassInfo_HID_Device_t Joystick_HID_Interface =
                                \r
                                .ReportINBufferSize      = sizeof(USB_JoystickReport_Data_t),\r
                        },\r
                                \r
                                .ReportINBufferSize      = sizeof(USB_JoystickReport_Data_t),\r
                        },\r
-       \r
-               .State =\r
-                       {\r
-                               // Leave all state values to their defaults\r
-                       }\r
        };\r
 \r
 /** Main program entry point. This routine contains the overall program flow, including initial\r
        };\r
 \r
 /** Main program entry point. This routine contains the overall program flow, including initial\r