Last audio fix ?

This commit is contained in:
3djc
2020-03-04 18:53:42 +01:00
parent 9c925457b4
commit f7cb20f665
4 changed files with 26 additions and 18 deletions
+1 -7
View File
@@ -464,13 +464,7 @@ void audioOn();
void audioOff();
bool isAudioReady();
bool audioChipReset();
inline void audioWaitReady()
{
while (!isAudioReady()) {
audioChipReset();
RTOS_WAIT_MS(1000);
}
}
void audioWaitReady();
#define SPI_SPEED_2 0
#define SPI_SPEED_4 1