player_queue_099

This commit is contained in:
e2002
2023-03-16 17:55:06 +03:00
parent 563770a825
commit cc874054b6
19 changed files with 90 additions and 58 deletions

View File

@@ -345,7 +345,7 @@ void Display::_layoutChange(bool played){
}
}
#ifndef DSP_QUEUE_TICKS
#define DSP_QUEUE_TICKS 8
#define DSP_QUEUE_TICKS 0
#endif
void Display::loop() {
if(_bootStep==0) {
@@ -483,9 +483,12 @@ void Display::_title() {
}
void Display::_time(bool redraw) {
#if LIGHT_SENSOR!=255
config.store.brightness = AUTOBACKLIGHT(analogRead(LIGHT_SENSOR));
config.setBrightness();
if(config.store.dspon) {
config.store.brightness = AUTOBACKLIGHT(analogRead(LIGHT_SENSOR));
config.setBrightness();
}
#endif
_clock.draw();
/*#ifdef USE_NEXTION