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:
parent
b9dd51cd63
commit
864196c884
34 changed files with 26 additions and 101 deletions
|
@ -53,11 +53,6 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
|
|||
|
||||
.ReportINBufferSize = sizeof(USB_KeyboardReport_Data_t),
|
||||
},
|
||||
|
||||
.State =
|
||||
{
|
||||
.IdleCount = 500,
|
||||
}
|
||||
};
|
||||
|
||||
/** LUFA HID Class driver interface configuration and state information. This structure is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue