From e07894d21a0101b10ee6ad851773b725cbb9150d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 Apr 2020 21:17:41 +0200 Subject: Used macro magic to implement function-based logs --- 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 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); -- cgit v1.2.3