aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers
diff options
context:
space:
mode:
authorMarvin Borner2021-01-21 14:40:20 +0100
committerMarvin Borner2021-01-21 14:40:20 +0100
commit7442dc40a12bd61d6a77fafbc1ea031a2b51937a (patch)
treeda42e944ce1865c6483df14b04e55129af0d7b3a /kernel/drivers
parent64ccbef99bdadc816e8c756ca8b5ae9a148a47fd (diff)
Fixed stray keyboard characters
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/keyboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/drivers/keyboard.c b/kernel/drivers/keyboard.c
index 7e295c2..744ca99 100644
--- a/kernel/drivers/keyboard.c
+++ b/kernel/drivers/keyboard.c
@@ -76,6 +76,11 @@ u32 keyboard_ready()
return !stack_empty(queue);
}
+void keyboard_reset()
+{
+ stack_clear(queue);
+}
+
void keyboard_install(void)
{
//keyboard_rate(); TODO: Fix keyboard rate?