fix(nv14;el18) Fix clicks when powering on, changing volumeStreamlined the SPI audio init of EL18. (#2730)

This commit is contained in:
richardclli
2022-11-15 12:25:56 +10:00
committed by GitHub
parent 4574fc6b39
commit 099e2adda9
2 changed files with 30 additions and 58 deletions
+1 -5
View File
@@ -529,11 +529,7 @@ void audioTask(void * pdata)
// The audio amp needs ~2s to start
RTOS_WAIT_MS(1000); // 1s
#elif defined(PCBNV14)
while(!isAudioReady())
{
audioChipReset();
RTOS_WAIT_MS(1000);
}
audioOn();
#endif
while (true) {