mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
clean up
This commit is contained in:
@@ -394,6 +394,7 @@ uint8_t ps2mouse_send_update(ps2_outgoing_buf* pbuf)
|
||||
{
|
||||
for (int i = 0; i < pbuf->size; ++i)
|
||||
{
|
||||
// return error if inhibited or interrupted while transmitting
|
||||
if(ps2mouse_get_bus_status() != PS2_BUS_IDLE || ps2mouse_write_nowait(pbuf->data[i]) != 0)
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user