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

Correcting spkr init

This commit is contained in:
Adrien Bourmault 2019-05-07 15:43:16 +02:00
parent 1b33aa6b28
commit 050f795b39

View File

@ -55,7 +55,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 + 2*1024); while (IoGetRtcTicks() < ticks + 512);
IoQuietSpeaker(); IoQuietSpeaker();