aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers
diff options
context:
space:
mode:
authorMarvin Borner2021-02-10 20:28:16 +0100
committerMarvin Borner2021-02-10 20:28:16 +0100
commite7fb1f97a5f95bcfd1d924b345f98bc0b496f5c0 (patch)
tree70984e3433c5de919d2be59c0ad633156213e30b /kernel/drivers
parentedc570a3552a7fdaaf89962e5374d98c2b3dfaa0 (diff)
Print to streams instead of serial console
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/mouse.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/kernel/drivers/mouse.c b/kernel/drivers/mouse.c
index b03ed50..1e7fd1a 100644
--- a/kernel/drivers/mouse.c
+++ b/kernel/drivers/mouse.c
@@ -136,8 +136,9 @@ void mouse_install(void)
mouse_serial_write(0xF2);
mouse_serial_read();
status = (u8)mouse_serial_read();
- if (status == 3)
- printf("Scrollwheel support!\n");
+ if (status == 3) {
+ };
+ /* printf("Scrollwheel support!\n"); */
// Activate 4th and 5th mouse buttons
mouse_serial_write(0xF2);
@@ -158,8 +159,9 @@ void mouse_install(void)
mouse_serial_write(0xF2);
mouse_serial_read();
status = (u8)mouse_serial_read();
- if (status == 4)
- printf("4th and 5th mouse button support!\n");
+ if (status == 4) {
+ };
+ /* printf("4th and 5th mouse button support!\n"); */
/* TODO: Fix mouse laggyness
mouse_serial_write(0xE8);