1

Dependents:   internet_radio_leo

Fork of VS1053 by Vassilis Serasidis

Revision:
8:e23900b0f1ca
Parent:
7:97a8edd44fe9
--- a/VS1053.cpp	Sat Sep 05 12:16:06 2015 +0000
+++ b/VS1053.cpp	Wed Jun 29 04:41:26 2016 +0000
@@ -61,7 +61,7 @@
 }
 
 /** Send a data byte to VS1053. */
-void VS1053::sendDataByte(uint8_t data) {
+void VS1053::sendDataByte(char data) {
     while (!dreq);
     bsync = 0;
     spi.write(data);
@@ -71,7 +71,7 @@
 /** Send a data block specified as a pointer to VS1053.
  *  @return Data length successfully sent.
  */
-size_t VS1053::sendDataBlock(uint8_t* data, size_t length) {
+size_t VS1053::sendDataBlock(char* data, size_t length) {
     size_t n, sizeSent = 0;
     
     if (!data || !length) return 0;