ref: 99cd8b23cd5dcdd8961b5f7d31dc2aa64316f1b6
parent: 2f457e75a5d614710a6683875d17d9c552a52a05
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 9 19:39:50 EDT 2023
mouse: use tsleep() instead of delay() (thanks uramekus)
--- a/sys/src/9/pc/mouse.c
+++ b/sys/src/9/pc/mouse.c
@@ -270,7 +270,7 @@
for(i=0; i<4; i++){
if(i8042auxcmd(on ? 0xF4 : 0xF5) != -1)
break;
- delay(50);
+ tsleep(&up->sleep, return0, 0, 50);
}
break;
}