Browse Source

whitespace and minor corrections

PavelSindler 7 years ago
parent
commit
a61964666e
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Firmware/ultralcd_implementation_hitachi_HD44780.h

+ 2 - 4
Firmware/ultralcd_implementation_hitachi_HD44780.h

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