This commit is contained in:
e2002
2022-07-07 12:52:47 +03:00
parent 1a857cb6fd
commit 36c24ecdb5
12 changed files with 24 additions and 10 deletions

View File

@@ -257,6 +257,7 @@ void DspCore::printClock(struct tm timeinfo, bool dots, bool redraw) {
void DspCore::drawVolumeBar(bool withNumber) {
int16_t vTop = sheight - 4;
(void)vTop;
int16_t vWidth = swidth-TFT_FRAMEWDT*2;
#if DSP_MODEL==DSP_SSD1306
uint8_t ww = map(config.store.volume, 0, 254, 0, vWidth - 2);