1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

tests spkr

This commit is contained in:
Adrien Bourmault 2019-05-06 22:48:27 +02:00
parent d9aad421a4
commit 41a4d1ec01

View File

@ -53,7 +53,7 @@ void IoDoBeep(void)
// Worst possible way of waiting // Worst possible way of waiting
// We need actual timers // We need actual timers
ulong ticks = IoGetRtcTicks(); ulong ticks = IoGetRtcTicks();
while (IoGetRtcTicks() < ticks + 5*2048); while (IoGetRtcTicks() < ticks + 1024);
IoQuietSpeaker(); IoQuietSpeaker();
} }