Audio driver fix.

This commit is contained in:
Richard Li
2021-06-30 15:07:15 +08:00
parent 35776c5f4a
commit fac4009621
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -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) {