From 8ebf584bbb43584b671b79d5166e00268a7c9661 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 25 Sep 2019 22:57:33 +0200 Subject: Fixed several TTY bugs and improved VESA detection --- src/kernel/sound/frequency.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/sound/frequency.c') diff --git a/src/kernel/sound/frequency.c b/src/kernel/sound/frequency.c index fdc32e4..367e2e8 100644 --- a/src/kernel/sound/frequency.c +++ b/src/kernel/sound/frequency.c @@ -2,7 +2,7 @@ #include "../io/io.h" #include "../timer/timer.h" -static void play_sound(uint32_t frequency) { +void play_sound(uint32_t frequency) { uint32_t divided; uint8_t tmp; @@ -23,7 +23,7 @@ static void shut_up() { send_b(0x61, tmp); } -//Make a beep +// Make a beep void beep(uint32_t frequency, uint32_t ticks) { play_sound(frequency); timer_wait(ticks); -- cgit v1.2.3