From 9c8cfc2e52b0446f7cab14325028075760869b45 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 26 Nov 2014 17:42:33 +0100 Subject: further cleanup --- kernel/keyboard.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'kernel/keyboard.c') diff --git a/kernel/keyboard.c b/kernel/keyboard.c index 074c495..32f28f0 100644 --- a/kernel/keyboard.c +++ b/kernel/keyboard.c @@ -11,15 +11,9 @@ /// keyboard driver //// // http://www.computer-engineering.org/ps2keyboard/scancodes1.html -static bool shift_l; -static bool shift_r; -static bool capslock; - -void keyboard_init() -{ - shift_l=shift_r=capslock=false; //!! -} - +static bool shift_l=false; +static bool shift_r=false; +static bool capslock=false; void keyboard_handle(uint8_t in) { -- cgit v1.2.3