aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/input/ps2
diff options
context:
space:
mode:
authorMarvin Borner2019-09-29 20:09:56 +0200
committerMarvin Borner2019-09-29 20:09:56 +0200
commit2fb0965a68dd232a70d1616bfbd7281fc65c2b0a (patch)
tree15c16851251ef1b083deff5796a36d6c127d0035 /src/kernel/input/ps2
parent0936f4d7b781ca8342fa80037d836306913aa282 (diff)
Added some minor improvements
Diffstat (limited to 'src/kernel/input/ps2')
-rw-r--r--src/kernel/input/ps2/mouse.c4
1 files changed, 2 insertions, 2 deletions
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);