Updates to vs1053 driver. Now accepting data but still no sound.
This commit is contained in:
parent
a394e2c35d
commit
04307da6b7
@ -60,10 +60,10 @@ static inline void board_startcmdwrite(void) {
|
||||
|
||||
// End a command write
|
||||
static inline void board_endcmdwrite(void) {
|
||||
SET_CS;
|
||||
#if SPI_USE_MUTUAL_EXCLUSION
|
||||
spiReleaseBus(SPI_PORT);
|
||||
#endif
|
||||
SET_CS;
|
||||
}
|
||||
|
||||
// Start a command read
|
||||
|
@ -188,7 +188,7 @@ static void FeedData(void *param) {
|
||||
(void) param;
|
||||
|
||||
// While there is data space
|
||||
while (!board_dreq()) {
|
||||
while (board_dreq()) {
|
||||
|
||||
// Send up to 32 bytes
|
||||
len = playlen;
|
||||
|
Loading…
Reference in New Issue
Block a user