[Horus] Refactoring continued

This commit is contained in:
Bertrand Songis
2015-10-24 11:27:34 +02:00
parent fb371cf5b7
commit ab0272c16c
116 changed files with 1042 additions and 1269 deletions
+4 -3
View File
@@ -512,7 +512,7 @@ void AudioQueue::start()
#define CODEC_ID_PCM_ALAW 6
#define CODEC_ID_PCM_MULAW 7
#ifndef SIMU
#if !defined(SIMU)
void audioTask(void* pdata)
{
while (!audioQueue.started()) {
@@ -521,8 +521,9 @@ void audioTask(void* pdata)
setSampleRate(AUDIO_SAMPLE_RATE);
#if defined(SDCARD)
TRACE("unexpectedShutdown = %d", unexpectedShutdown);
#if !defined(EEPROM)
AUDIO_TADA();
#elif defined(SDCARD)
if (!unexpectedShutdown) {
sdInit();
AUDIO_TADA();