Fixes #982 - Tests needed!

This commit is contained in:
bsongis
2014-04-16 19:49:20 +02:00
parent 97dee28ae1
commit 3829604480
+1 -1
View File
@@ -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;