Browse Source

Whitespace cleanup

Scott Lahteine 5 years ago
parent
commit
d6682c8609

+ 2
- 2
Marlin/src/feature/leds/neopixel.cpp View File

@@ -53,11 +53,11 @@ Adafruit_NeoPixel Marlin_NeoPixel::adaneo1(NEOPIXEL_PIXELS, NEOPIXEL_PIN, NEOPIX
53 53
 #endif
54 54
 
55 55
 void Marlin_NeoPixel::set_color(const uint32_t color) {
56
-  if (get_neo_index() >= 0) { 
56
+  if (get_neo_index() >= 0) {
57 57
     set_pixel_color(get_neo_index(), color);
58 58
     set_neo_index(-1);
59 59
   }
60
-  else { 
60
+  else {
61 61
     for (uint16_t i = 0; i < pixels(); ++i) {
62 62
       #ifdef NEOPIXEL_BKGD_LED_INDEX
63 63
         if (i == NEOPIXEL_BKGD_LED_INDEX && color != 0x000000) {

+ 1
- 1
Marlin/src/gcode/feature/leds/M150.cpp View File

@@ -47,7 +47,7 @@
47 47
  *   M150 P127       ; Set LED 50% brightness
48 48
  *   M150 P          ; Set LED full brightness
49 49
  *   M150 I1 R       ; Set NEOPIXEL index 1 to red
50
- */  
50
+ */
51 51
 void GcodeSuite::M150() {
52 52
   #if ENABLED(NEOPIXEL_LED)
53 53
     neo.set_neo_index(parser.intval('I', -1));

+ 3
- 3
Marlin/src/inc/Conditionals_LCD.h View File

@@ -121,10 +121,10 @@
121 121
   #define IS_U8GLIB_SSD1306
122 122
 
123 123
 #elif ENABLED(FYSETC_242_OLED_12864)
124
-      
124
+
125 125
   #define IS_RRD_SC
126 126
   #define U8GLIB_SH1106
127
-    
127
+
128 128
   #define LED_CONTROL_MENU
129 129
   #define NEOPIXEL_LED
130 130
   #undef NEOPIXEL_TYPE
@@ -136,7 +136,7 @@
136 136
   #ifndef NEOPIXEL_BRIGHTNESS
137 137
     #define NEOPIXEL_BRIGHTNESS 127
138 138
   #endif
139
-    
139
+
140 140
   #if ENABLED(PSU_CONTROL)
141 141
     #define LED_BACKLIGHT_TIMEOUT 10000
142 142
   #endif

+ 3
- 3
Marlin/src/lcd/dogm/ultralcd_DOGM.h View File

@@ -124,11 +124,11 @@
124 124
   #endif
125 125
 
126 126
 #elif ENABLED(FYSETC_242_OLED_12864)
127
-  
127
+
128 128
   // FYSETC OLED 2.42" 128 × 64 FULL GRAPHICS CONTROLLER
129
-      
129
+
130 130
   #define FORCE_SOFT_SPI                                        // SW-SPI
131
-  
131
+
132 132
   #if ENABLED(ALTERNATIVE_LCD)
133 133
     #define U8G_CLASS U8GLIB_SSD1306_128X64_2X                  // 4 stripes
134 134
   #else

+ 1
- 1
Marlin/src/lcd/menu/menu_configuration.cpp View File

@@ -310,7 +310,7 @@ void menu_advanced_settings();
310 310
     #if HAS_FAN
311 311
       editable.uint8 = uint8_t(ui.material_preset[m].fan_speed);
312 312
       EDIT_ITEM_N(percent, m, MSG_FAN_SPEED, &editable.uint8, 0, 255, []{ ui.material_preset[MenuItemBase::itemIndex].fan_speed = editable.uint8; });
313
-    #endif 
313
+    #endif
314 314
     #if HAS_TEMP_HOTEND
315 315
       EDIT_ITEM(uint16_3, MSG_NOZZLE, &ui.material_preset[m].hotend_temp, MINTEMP_ALL, MAXTEMP_ALL - HOTEND_OVERSHOOT);
316 316
     #endif

+ 1
- 1
Marlin/src/module/motion.cpp View File

@@ -1502,7 +1502,7 @@ void set_axis_not_trusted(const AxisEnum axis) {
1502 1502
     // Skip to next if target position is behind current. So it only moves away from endstop.
1503 1503
     if (phaseDelta < 0) phaseDelta += 1024;
1504 1504
 
1505
-    // Convert TMC µsteps(phase) to whole Marlin µsteps to effector backout direction to mm 
1505
+    // Convert TMC µsteps(phase) to whole Marlin µsteps to effector backout direction to mm
1506 1506
     const float mmDelta = int16_t(phaseDelta / phasePerUStep) * effectorBackoutDir * planner.steps_to_mm[axis];
1507 1507
 
1508 1508
     // Optional debug messages

+ 1
- 1
Marlin/src/pins/stm32f4/pins_LERDGE_K.h View File

@@ -100,7 +100,7 @@
100 100
 #define TEMP_BED_PIN                        PC0   // Analog Input
101 101
 
102 102
 // Lergde-K can choose thermocouple/thermistor mode in software.
103
-// For use with thermistors, these pins must be OUT/LOW. 
103
+// For use with thermistors, these pins must be OUT/LOW.
104 104
 // This is done automatically.
105 105
 #define TEMP_0_TR_ENABLE_PIN                PF10
106 106
 #define TEMP_1_TR_ENABLE_PIN                PF9

Loading…
Cancel
Save