From 4d4eb4df27f0f146722e4370b3be5804c86a7e62 Mon Sep 17 00:00:00 2001 From: e2002 Date: Mon, 14 Feb 2022 18:36:25 +0300 Subject: [PATCH] 0.4.251 --- yoRadio/options.h | 2 +- yoRadio/src/displays/displayST7735.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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) {