less lcd flickering
This commit is contained in:
parent
379ea642e1
commit
924bab1a03
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue