From 050f795b39e3948e9464f981d855e53cc6c8e4c1 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 7 May 2019 15:43:16 +0200 Subject: [PATCH] Correcting spkr init --- kaleid/kernel/io/spkr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaleid/kernel/io/spkr.c b/kaleid/kernel/io/spkr.c index 3ffe592..7834ffb 100644 --- a/kaleid/kernel/io/spkr.c +++ b/kaleid/kernel/io/spkr.c @@ -55,7 +55,7 @@ void IoDoBeep(void) // Worst possible way of waiting // We need actual timers ulong ticks = IoGetRtcTicks(); - while (IoGetRtcTicks() < ticks + 2*1024); + while (IoGetRtcTicks() < ticks + 512); IoQuietSpeaker();