From 3829604480132b9a1ff364ed1df797110a9af0d1 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 16 Apr 2014 19:48:16 +0200 Subject: [PATCH] Fixes #982 - Tests needed! --- radio/src/audio_arm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/audio_arm.cpp b/radio/src/audio_arm.cpp index 55896cbf1..70aca2915 100644 --- a/radio/src/audio_arm.cpp +++ b/radio/src/audio_arm.cpp @@ -788,7 +788,7 @@ void AudioQueue::pause(uint16_t len) bool AudioQueue::isPlaying(uint8_t id) { - if (normalContext.fragment.id == id || backgroundContext.fragment.id == id) + if (normalContext.fragment.id == id || (isFunctionActive(FUNCTION_BACKGND_MUSIC) && backgroundContext.fragment.id == id)) return true; uint8_t i = ridx;