less lcd flickering
This commit is contained in:
parent
379ea642e1
commit
924bab1a03
|
@ -113,7 +113,7 @@
|
||||||
activeline=maxlines;
|
activeline=maxlines;
|
||||||
curencoderpos=maxlines*lcdslow;
|
curencoderpos=maxlines*lcdslow;
|
||||||
}
|
}
|
||||||
if(lastactiveline!=activeline ||lastlineoffset!=lineoffset)
|
if(lastlineoffset!=lineoffset)
|
||||||
force_lcd_update=true;
|
force_lcd_update=true;
|
||||||
lcd.setCursor(0,activeline);lcd.print((activeline+lineoffset)?'>':'\003');
|
lcd.setCursor(0,activeline);lcd.print((activeline+lineoffset)?'>':'\003');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue