Radio init / masstorage start / massstorage end / shutdown sequences … (#3674)
* Radio init / masstorage start / massstorage end / shutdown sequences reordering: - More traces - Fixes #3642 - Reuses idea of #3662 Still not finished and completely untested * More traces * Compilation fix * Reuses the idea of #3652 * Alarms were checked 2 times on massstorage end
This commit is contained in:
@@ -497,16 +497,13 @@ void audioTask(void * pdata)
|
||||
|
||||
setSampleRate(AUDIO_SAMPLE_RATE);
|
||||
|
||||
#if !defined(EEPROM)
|
||||
AUDIO_HELLO();
|
||||
#elif defined(SDCARD)
|
||||
while (!sdMounted()) {
|
||||
CoTickDelay(10);
|
||||
}
|
||||
|
||||
if (!unexpectedShutdown) {
|
||||
#if defined(EEPROM)
|
||||
sdInit();
|
||||
#endif
|
||||
AUDIO_HELLO();
|
||||
}
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
audioQueue.wakeup();
|
||||
|
||||
Reference in New Issue
Block a user