From 2e29aaa96b2d995060f7e7e3e0b85b2a1b61337c Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 2 Jul 2012 11:16:02 +0000 Subject: [PATCH] audio state not resetted after playing a wav file --- src/ersky9x/audio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ersky9x/audio.cpp b/src/ersky9x/audio.cpp index a8fd3a08a..be5082da9 100644 --- a/src/ersky9x/audio.cpp +++ b/src/ersky9x/audio.cpp @@ -192,6 +192,7 @@ void audioTask(void* pdata) DACC->DACC_TCR = 50 ; // words, 100 16 bit values DACC->DACC_TNPR = CONVERT_PTR(Sine_values); DACC->DACC_TNCR = 50 ; // words, 100 16 bit values + audioState = 0; } #if 1 else {