Compilation and NV14 audio fix

This commit is contained in:
3djc
2020-03-03 19:15:46 +01:00
parent 1dd2892f13
commit 181e57c325
6 changed files with 20 additions and 15 deletions
+7
View File
@@ -464,6 +464,13 @@ void audioOn();
void audioOff();
bool isAudioReady();
bool audioChipReset();
inline void audioWaitReady()
{
while (!isAudioReady()) {
audioChipReset();
RTOS_WAIT_MS(1000);
}
}
#define SPI_SPEED_2 0
#define SPI_SPEED_4 1