Browse Source

Remove unused variable fan_rot

and satisfy the compiler about the implicit compare.
AnHardt 9 years ago
parent
commit
507efa771b
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      Marlin/dogm_lcd_implementation.h

+ 1
- 4
Marlin/dogm_lcd_implementation.h View File

@@ -256,9 +256,6 @@ static void _draw_heater_status(int x, int heater) {
256 256
 }
257 257
 
258 258
 static void lcd_implementation_status_screen() {
259
-
260
-  static unsigned char fan_rot = 0;
261
- 
262 259
   u8g.setColorIndex(1); // black on white
263 260
 
264 261
   // Symbols menu graphics, animated fan
@@ -485,7 +482,7 @@ static void _drawmenu_sd(bool isSelected, uint8_t row, const char* pstr, const c
485 482
   lcd_implementation_mark_as_selected(row, isSelected);
486 483
 
487 484
   if (isDir) lcd_print(LCD_STR_FOLDER[0]);
488
-  while (c = *filename) {
485
+  while ((c = *filename)) {
489 486
     n -= lcd_print(c);
490 487
     filename++;
491 488
   }

Loading…
Cancel
Save