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