diff --git a/yoRadio/options.h b/yoRadio/options.h index 753b12d..e01da76 100644 --- a/yoRadio/options.h +++ b/yoRadio/options.h @@ -1,7 +1,7 @@ #ifndef options_h #define options_h -#define VERSION "0.4.249" +#define VERSION "0.4.251" /* DISPLAY MODEL * 0 - DUMMY diff --git a/yoRadio/src/displays/displayST7735.cpp b/yoRadio/src/displays/displayST7735.cpp index 0fad445..ec49f04 100644 --- a/yoRadio/src/displays/displayST7735.cpp +++ b/yoRadio/src/displays/displayST7735.cpp @@ -251,7 +251,7 @@ void DisplayST7735::displayHeapForDebug() { print(ESP.getFreeHeap()); print(" / "); print(ESP.getMaxAllocHeap()); - +#if VS1053_CS==255 // audio buffer; fillRect(0, sheight - 2, swidth, 2, TFT_BG); int astored = player.inBufferFilled(); @@ -259,6 +259,7 @@ void DisplayST7735::displayHeapForDebug() { int aprcnt = 100 * astored / (astored + afree); byte sbw = map(aprcnt, 0, 100 , 0, swidth); fillRect(0, sheight - 2, sbw, 2, SILVER); +#endif } void DisplayST7735::printClock(const char* timestr) {