Browse Source

Formatting in _draw_heater_status

Scott Lahteine 7 years ago
parent
commit
266ae8912a
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      Marlin/ultralcd_impl_HD44780.h

+ 8
- 8
Marlin/ultralcd_impl_HD44780.h View File

@@ -582,8 +582,8 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
582 582
 FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, const bool blink) {
583 583
   const bool isBed = heater < 0;
584 584
 
585
-  const float t1 = (isBed ? thermalManager.degBed() : thermalManager.degHotend(heater));
586
-  const float t2 = (isBed ? thermalManager.degTargetBed() : thermalManager.degTargetHotend(heater));
585
+  const float t1 = (isBed ? thermalManager.degBed()       : thermalManager.degHotend(heater)),
586
+              t2 = (isBed ? thermalManager.degTargetBed() : thermalManager.degTargetHotend(heater));
587 587
 
588 588
   if (prefix >= 0) lcd.print(prefix);
589 589
 
@@ -592,11 +592,11 @@ FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, co
592 592
 
593 593
   #if ENABLED(ADVANCED_PAUSE_FEATURE)
594 594
     const bool is_idle = (!isBed ? thermalManager.is_heater_idle(heater) :
595
-    #if HAS_TEMP_BED
596
-      thermalManager.is_bed_idle()
597
-    #else
598
-      false
599
-    #endif
595
+      #if HAS_TEMP_BED
596
+        thermalManager.is_bed_idle()
597
+      #else
598
+        false
599
+      #endif
600 600
     );
601 601
 
602 602
     if (!blink && is_idle) {
@@ -606,7 +606,7 @@ FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, co
606 606
     }
607 607
     else
608 608
   #endif
609
-  lcd.print(itostr3left(t2 + 0.5));
609
+      lcd.print(itostr3left(t2 + 0.5));
610 610
 
611 611
   if (prefix >= 0) {
612 612
     lcd_printPGM(PSTR(LCD_STR_DEGREE " "));

Loading…
Cancel
Save