This commit is contained in:
e2002
2022-02-14 18:36:25 +03:00
parent 3c12fb419f
commit 4d4eb4df27
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h
#define VERSION "0.4.249"
#define VERSION "0.4.251"
/* DISPLAY MODEL
* 0 - DUMMY

View File

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