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
 }
256
 }
257
 
257
 
258
 static void lcd_implementation_status_screen() {
258
 static void lcd_implementation_status_screen() {
259
-
260
-  static unsigned char fan_rot = 0;
261
- 
262
   u8g.setColorIndex(1); // black on white
259
   u8g.setColorIndex(1); // black on white
263
 
260
 
264
   // Symbols menu graphics, animated fan
261
   // Symbols menu graphics, animated fan
485
   lcd_implementation_mark_as_selected(row, isSelected);
482
   lcd_implementation_mark_as_selected(row, isSelected);
486
 
483
 
487
   if (isDir) lcd_print(LCD_STR_FOLDER[0]);
484
   if (isDir) lcd_print(LCD_STR_FOLDER[0]);
488
-  while (c = *filename) {
485
+  while ((c = *filename)) {
489
     n -= lcd_print(c);
486
     n -= lcd_print(c);
490
     filename++;
487
     filename++;
491
   }
488
   }

Loading…
Cancel
Save