c9x compilation problem
This commit is contained in:
@@ -469,10 +469,9 @@ void AudioQueue::play(uint8_t tFreq, uint8_t tLen, uint8_t tPause, uint8_t tFlag
|
|||||||
#if defined(SDCARD)
|
#if defined(SDCARD)
|
||||||
void AudioQueue::playFile(const char *filename, uint8_t flags, uint8_t id)
|
void AudioQueue::playFile(const char *filename, uint8_t flags, uint8_t id)
|
||||||
{
|
{
|
||||||
#ifdef SIMU
|
#if defined(SIMU)
|
||||||
printf("playFile(\"%s\")\n", filename); fflush(stdout);
|
printf("playFile(\"%s\")\n", filename); fflush(stdout);
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
if (Card_initialized && !sd_card_mounted())
|
if (Card_initialized && !sd_card_mounted())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -495,6 +494,7 @@ void AudioQueue::playFile(const char *filename, uint8_t flags, uint8_t id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
CoLeaveMutexSection(audioMutex);
|
CoLeaveMutexSection(audioMutex);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user