Audio driver fix.
This commit is contained in:
@@ -531,6 +531,12 @@ void audioTask(void * pdata)
|
||||
#if defined(PCBX12S) || defined(RADIO_TX16S)
|
||||
// The audio amp needs ~2s to start
|
||||
RTOS_WAIT_MS(1000); // 1s
|
||||
#elif defined(PCBNV14)
|
||||
while(!isAudioReady())
|
||||
{
|
||||
audioChipReset();
|
||||
RTOS_WAIT_MS(1000);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!globalData.unexpectedShutdown) {
|
||||
|
||||
Reference in New Issue
Block a user