remove unused code + plugin update

This commit is contained in:
Philippe G
2020-12-03 20:56:56 -08:00
parent 99019cd22f
commit c33c6187ca
4 changed files with 6 additions and 5 deletions

View File

@@ -1045,7 +1045,7 @@ static void visu_handler( u8_t *data, int len) {
// little trick to clean the taller screens when switching visu
if (visu.row >= displayer.height) GDS_ClearExt(display, false, true, visu.col, visu.row, visu.col + visu.width - 1, visu.row + visu.height - 1);
if ((visu.mode = pkt->which) != 0) {
if (visu.mode) {
// these will be overidden if necessary
visu.col = visu.border = 0;
visu.rotate = false;