diff options
author | Marvin Borner | 2020-04-15 21:17:41 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-15 21:17:41 +0200 |
commit | e07894d21a0101b10ee6ad851773b725cbb9150d (patch) | |
tree | 75631b318a9403395fbb3b40abdade8a475cd30b /src/kernel/input/ps2 | |
parent | aa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (diff) |
Used macro magic to implement function-based logs
Diffstat (limited to 'src/kernel/input/ps2')
-rw-r--r-- | src/kernel/input/ps2/mouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/input/ps2/mouse.c b/src/kernel/input/ps2/mouse.c index 31002ad..bf3cbf6 100644 --- a/src/kernel/input/ps2/mouse.c +++ b/src/kernel/input/ps2/mouse.c @@ -117,7 +117,7 @@ void mouse_install() mouse_read(); status = (unsigned char)mouse_read(); if (status == 3) - serial_printf("Scrollwheel support!"); + log("Scrollwheel support!"); // Activate 4th and 5th mouse buttons mouse_write(0xF2); @@ -139,7 +139,7 @@ void mouse_install() mouse_read(); status = (unsigned char)mouse_read(); if (status == 4) - serial_printf("4th and 5th mouse button support!"); + log("4th and 5th mouse button support!"); /* TODO: Fix mouse laggyness mouse_write(0xE8); |