forked from mfulz_github/qmk_firmware
State information for class drivers is now zeroed out during enumeration (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
This commit is contained in:
1 parent
b9dd51cd63
commit
864196c884
34 files changed
+26
-101
No files matched your search
@@ -51,11 +51,6 @@ USB_ClassInfo_HID_Device_t Generic_HID_Interface =
|
||||
|
||||
.ReportINBufferSize = GENERIC_REPORT_SIZE,
|
||||
},
|
||||
|
||||
.State =
|
||||
{
|
||||
// Leave all state values to their defaults
|
||||
}
|
||||
};
|
||||
|
||||
/** Main program entry point. This routine contains the overall program flow, including initial
|
||||
|
||||
Reference in new issue
Block a user