whitespace and minor corrections
This commit is contained in:
parent
626818f87d
commit
a61964666e
@ -1205,14 +1205,12 @@ static void lcd_implementation_drawmenu_sdfile_selected(uint8_t row, const char*
|
|||||||
|
|
||||||
lcd.setCursor(0, row);
|
lcd.setCursor(0, row);
|
||||||
lcd.print('>');
|
lcd.print('>');
|
||||||
int i = 1;
|
int i = 1;
|
||||||
int j = 0;
|
int j = 0;
|
||||||
char* longFilenameTMP = longFilename;
|
char* longFilenameTMP = longFilename;
|
||||||
|
|
||||||
while((c = *longFilenameTMP) != '\0')
|
while((c = *longFilenameTMP) != '\0')
|
||||||
{
|
{
|
||||||
MYSERIAL.print("Counter: ");
|
|
||||||
MYSERIAL.println(counter++);
|
|
||||||
lcd.setCursor(i, row);
|
lcd.setCursor(i, row);
|
||||||
lcd.print(c);
|
lcd.print(c);
|
||||||
i++;
|
i++;
|
||||||
@ -1233,7 +1231,7 @@ static void lcd_implementation_drawmenu_sdfile_selected(uint8_t row, const char*
|
|||||||
}else{
|
}else{
|
||||||
if (j == 1) delay(3); //wait around 1.2 s to start scrolling text
|
if (j == 1) delay(3); //wait around 1.2 s to start scrolling text
|
||||||
delay(1); //then scroll with redrawing every 300 ms
|
delay(1); //then scroll with redrawing every 300 ms
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user