[FL-3046] Notification: fix recursive speaker acquire #2147
This commit is contained in:
parent
f10e82c64d
commit
94453d9100
@ -150,7 +150,7 @@ void notification_vibro_off() {
|
||||
}
|
||||
|
||||
void notification_sound_on(float freq, float volume) {
|
||||
if(furi_hal_speaker_acquire(30)) {
|
||||
if(furi_hal_speaker_is_mine() || furi_hal_speaker_acquire(30)) {
|
||||
furi_hal_speaker_start(freq, volume);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user