status screen fix
This commit is contained in:
parent
8ec3c0fd7e
commit
a3ad74a6be
@ -875,7 +875,7 @@ if (print_sd_status)
|
|||||||
|
|
||||||
{
|
{
|
||||||
if(strlen(card.longFilename) > LCD_WIDTH)
|
if(strlen(card.longFilename) > LCD_WIDTH)
|
||||||
{
|
{
|
||||||
|
|
||||||
int inters = 0;
|
int inters = 0;
|
||||||
int gh = scrollstuff;
|
int gh = scrollstuff;
|
||||||
@ -900,15 +900,13 @@ if (print_sd_status)
|
|||||||
|
|
||||||
}
|
}
|
||||||
scrollstuff++;
|
scrollstuff++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lcd.print(longFilenameOLD);
|
lcd.print(longFilenameOLD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
// If not, check for other special events
|
// If not, check for other special events
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1409,6 +1407,7 @@ static uint8_t lcd_implementation_read_slow_buttons()
|
|||||||
// Reading these buttons this is likely to be too slow to call inside interrupt context
|
// Reading these buttons this is likely to be too slow to call inside interrupt context
|
||||||
// so they are called during normal lcd_update
|
// so they are called during normal lcd_update
|
||||||
slow_buttons = lcd.readButtons() << B_I2C_BTN_OFFSET;
|
slow_buttons = lcd.readButtons() << B_I2C_BTN_OFFSET;
|
||||||
|
|
||||||
#if defined(LCD_I2C_VIKI)
|
#if defined(LCD_I2C_VIKI)
|
||||||
if(slow_buttons & (B_MI|B_RI)) { //LCD clicked
|
if(slow_buttons & (B_MI|B_RI)) { //LCD clicked
|
||||||
if(blocking_enc > millis()) {
|
if(blocking_enc > millis()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user