0.4.251
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#ifndef options_h
|
#ifndef options_h
|
||||||
#define options_h
|
#define options_h
|
||||||
|
|
||||||
#define VERSION "0.4.249"
|
#define VERSION "0.4.251"
|
||||||
|
|
||||||
/* DISPLAY MODEL
|
/* DISPLAY MODEL
|
||||||
* 0 - DUMMY
|
* 0 - DUMMY
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ void DisplayST7735::displayHeapForDebug() {
|
|||||||
print(ESP.getFreeHeap());
|
print(ESP.getFreeHeap());
|
||||||
print(" / ");
|
print(" / ");
|
||||||
print(ESP.getMaxAllocHeap());
|
print(ESP.getMaxAllocHeap());
|
||||||
|
#if VS1053_CS==255
|
||||||
// audio buffer;
|
// audio buffer;
|
||||||
fillRect(0, sheight - 2, swidth, 2, TFT_BG);
|
fillRect(0, sheight - 2, swidth, 2, TFT_BG);
|
||||||
int astored = player.inBufferFilled();
|
int astored = player.inBufferFilled();
|
||||||
@@ -259,6 +259,7 @@ void DisplayST7735::displayHeapForDebug() {
|
|||||||
int aprcnt = 100 * astored / (astored + afree);
|
int aprcnt = 100 * astored / (astored + afree);
|
||||||
byte sbw = map(aprcnt, 0, 100 , 0, swidth);
|
byte sbw = map(aprcnt, 0, 100 , 0, swidth);
|
||||||
fillRect(0, sheight - 2, sbw, 2, SILVER);
|
fillRect(0, sheight - 2, sbw, 2, SILVER);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayST7735::printClock(const char* timestr) {
|
void DisplayST7735::printClock(const char* timestr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user