From 2fb0965a68dd232a70d1616bfbd7281fc65c2b0a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 29 Sep 2019 20:09:56 +0200 Subject: Added some minor improvements --- src/kernel/input/ps2/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/input/ps2/mouse.c') diff --git a/src/kernel/input/ps2/mouse.c b/src/kernel/input/ps2/mouse.c index 45a4664..a637347 100644 --- a/src/kernel/input/ps2/mouse.c +++ b/src/kernel/input/ps2/mouse.c @@ -35,7 +35,7 @@ void mouse_handler(struct regs *a_r) { terminal_write_line("CLICK!"); } -inline void mouse_wait(unsigned char a_type) { +void mouse_wait(unsigned char a_type) { unsigned int time_out = 100000; if (a_type == 0) { while (time_out--) @@ -50,7 +50,7 @@ inline void mouse_wait(unsigned char a_type) { } } -inline void mouse_write(unsigned char a_write) { +void mouse_write(unsigned char a_write) { mouse_wait(1); send_b(0x64, 0xD4); mouse_wait(1); -- cgit v1.2.3