Cosmetics

This commit is contained in:
Bertrand Songis
2019-11-07 13:58:56 +01:00
parent 3f0ce109ad
commit 50a07dc8d8
3 changed files with 3 additions and 4 deletions
@@ -90,8 +90,7 @@ void dacInit()
void audioConsumeCurrentBuffer()
{
if (nextBuffer == 0) {
if (!nextBuffer) {
nextBuffer = audioQueue.buffersFifo.getNextFilledBuffer();
if (nextBuffer) {
#if defined(AUDIO_MUTE_GPIO_PIN)