parent
8ad2e30732
commit
a850f7d695
@ -88,6 +88,8 @@ void ps2_mouse_task(void) {
|
|||||||
# endif
|
# endif
|
||||||
} else {
|
} else {
|
||||||
if (debug_mouse) print("ps2_mouse: fail to get mouse packet\n");
|
if (debug_mouse) print("ps2_mouse: fail to get mouse packet\n");
|
||||||
|
/* return here to avoid updating the mouse button state */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (pbuf_has_data()) {
|
if (pbuf_has_data()) {
|
||||||
@ -99,6 +101,8 @@ void ps2_mouse_task(void) {
|
|||||||
# endif
|
# endif
|
||||||
} else {
|
} else {
|
||||||
if (debug_mouse) print("ps2_mouse: fail to get mouse packet\n");
|
if (debug_mouse) print("ps2_mouse: fail to get mouse packet\n");
|
||||||
|
/* return here to avoid updating the mouse button state */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user