Ver Fonte

[FL-3046] Notification: fix recursive speaker acquire #2147

あく há 3 anos atrás
pai
commit
94453d9100
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      applications/services/notification/notification_app.c

+ 1 - 1
applications/services/notification/notification_app.c

@@ -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);
     }
 }