mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
reset style for small visu - release
This commit is contained in:
@@ -1001,6 +1001,7 @@ static void visu_handler( u8_t *data, int len) {
|
||||
pkt->row = htonl(pkt->row);
|
||||
pkt->col = htonl(pkt->col);
|
||||
|
||||
visu.style = 0;
|
||||
visu.width = htonl(pkt->width);
|
||||
visu.height = pkt->height ? pkt->height : SB_HEIGHT;
|
||||
visu.col = pkt->col < 0 ? displayer.width + pkt->col : pkt->col;
|
||||
@@ -1018,7 +1019,7 @@ static void visu_handler( u8_t *data, int len) {
|
||||
bars = htonl(pkt->full.bars);
|
||||
visu.spectrum_scale = htonl(pkt->full.spectrum_scale) / 100.;
|
||||
} else {
|
||||
// select analogue/digital
|
||||
// select analogue/digital style
|
||||
visu.style = htonl(pkt->full.style);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user