respect Once sound mode
Change in memory: Flash: +4 bytes SRAM: 0 bytes
This commit is contained in:
parent
96fc90c80b
commit
8794ab2f71
|
|
@ -201,10 +201,9 @@ void sound_wait_for_user() {
|
||||||
if (eSoundMode == e_SOUND_MODE_SILENT) return;
|
if (eSoundMode == e_SOUND_MODE_SILENT) return;
|
||||||
|
|
||||||
// Handle case where only one beep is needed
|
// Handle case where only one beep is needed
|
||||||
if (!bFirst) {
|
if (eSoundMode == e_SOUND_MODE_ONCE) {
|
||||||
if (eSoundMode == e_SOUND_MODE_ONCE) {
|
if (bFirst) return;
|
||||||
Sound_MakeCustom(80, 0, false);
|
Sound_MakeCustom(80, 0, false);
|
||||||
}
|
|
||||||
bFirst = true;
|
bFirst = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue