Fix broken Host ClassDriver MouseHostWithParser demo.
This commit is contained in:
parent
849b9535e7
commit
073a58cd29
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ int main(void)
|
||||||
case HOST_STATE_Configured:
|
case HOST_STATE_Configured:
|
||||||
if (HID_Host_IsReportReceived(&Mouse_HID_Interface))
|
if (HID_Host_IsReportReceived(&Mouse_HID_Interface))
|
||||||
{
|
{
|
||||||
uint8_t MouseReport[Keyboard_HID_Interface.State.LargestReportSize];
|
uint8_t MouseReport[Mouse_HID_Interface.State.LargestReportSize];
|
||||||
HID_Host_ReceiveReport(&Mouse_HID_Interface, &MouseReport);
|
HID_Host_ReceiveReport(&Mouse_HID_Interface, &MouseReport);
|
||||||
|
|
||||||
uint8_t LEDMask = LEDS_NO_LEDS;
|
uint8_t LEDMask = LEDS_NO_LEDS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue