whitespace and minor corrections

This commit is contained in:
PavelSindler 2017-11-26 20:57:28 +01:00
parent 626818f87d
commit a61964666e

View File

@ -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
} }
} }
} }