aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/sound/frequency.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-25 22:57:33 +0200
committerMarvin Borner2019-09-25 22:57:33 +0200
commit8ebf584bbb43584b671b79d5166e00268a7c9661 (patch)
tree466abea4e6da201e7b432d7394e1bf21cbbe1d98 /src/kernel/sound/frequency.c
parent16b8a48d1de16a5982cf983a282832fd4ed01f85 (diff)
Fixed several TTY bugs and improved VESA detection
Diffstat (limited to 'src/kernel/sound/frequency.c')
-rw-r--r--src/kernel/sound/frequency.c4
1 files changed, 2 insertions, 2 deletions
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);