|
|
@ -215,6 +215,8 @@ static void Upstream_HID_ReceiveInterruptReportCallback(UpstreamPacketTypeDef* r
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (GetReportLoopIsRunning)
|
|
|
|
|
|
|
|
{
|
|
|
|
//Check if we need to send OUT data to the keyboard before requesting next Interrupt IN data
|
|
|
|
//Check if we need to send OUT data to the keyboard before requesting next Interrupt IN data
|
|
|
|
if (KeyboardOutDataState == KEYBOARD_OUT_STATE_DATA_READY)
|
|
|
|
if (KeyboardOutDataState == KEYBOARD_OUT_STATE_DATA_READY)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -224,6 +226,7 @@ static void Upstream_HID_ReceiveInterruptReportCallback(UpstreamPacketTypeDef* r
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Upstream_HID_ReceiveInterruptReport(); //Otherwise poll downstream again
|
|
|
|
Upstream_HID_ReceiveInterruptReport(); //Otherwise poll downstream again
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|