Updates to vs1053 driver. Now accepting data but still no sound.

ugfx_release_2.6
inmarket 2014-04-30 22:57:15 +10:00
parent a394e2c35d
commit 04307da6b7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;