[all] And switches added to Custom Switches

[ARM] No Init of SD after a reboot (not tested)
[X9D] Bug when [EXIT] on MODELSEL
This commit is contained in:
bsongis
2013-02-21 20:25:40 +00:00
parent 8cfde7854b
commit 3824939030
9 changed files with 84 additions and 26 deletions
+9
View File
@@ -265,6 +265,12 @@ AudioQueue::AudioQueue()
prioIdx = -1;
}
void AudioQueue::start()
{
state = AUDIO_RESUMING;
CoSetFlag(audioFlag);
}
void audioTimerHandle(void)
{
CoSetFlag(audioFlag);
@@ -277,6 +283,9 @@ void audioTimerHandle(void)
#ifndef SIMU
void audioTask(void* pdata)
{
while (audioQueue.busy())
CoWaitForSingleFlag(audioFlag, 0);
#if defined(SDCARD)
if (!unexpectedShutdown) {
codecsInit();