From 41a4d1ec01404b2a96f350874e94b8edfe8f85ba Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 6 May 2019 22:48:27 +0200 Subject: [PATCH] tests spkr --- 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 0b41b20..ec5fad6 100644 --- a/kaleid/kernel/io/spkr.c +++ b/kaleid/kernel/io/spkr.c @@ -53,7 +53,7 @@ void IoDoBeep(void) // Worst possible way of waiting // We need actual timers ulong ticks = IoGetRtcTicks(); - while (IoGetRtcTicks() < ticks + 5*2048); + while (IoGetRtcTicks() < ticks + 1024); IoQuietSpeaker(); }