audio state not resetted after playing a wav file

This commit is contained in:
bsongis
2012-07-02 11:16:02 +00:00
parent d5eff9481d
commit 2e29aaa96b
+1
View File
@@ -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 {