Browse Source

Fix some whitespace

Scott Lahteine 6 years ago
parent
commit
c6d39319de

+ 1
- 1
Marlin/src/HAL/HAL_ESP32/HAL.cpp View File

148
 void HAL_adc_init() {
148
 void HAL_adc_init() {
149
   // Configure ADC
149
   // Configure ADC
150
   adc1_config_width(ADC_WIDTH_12Bit);
150
   adc1_config_width(ADC_WIDTH_12Bit);
151
-  
151
+
152
   // Configure channels only if used as (re-)configuring a pin for ADC that is used elsewhere might have adverse effects
152
   // Configure channels only if used as (re-)configuring a pin for ADC that is used elsewhere might have adverse effects
153
   #if HAS_TEMP_ADC_0
153
   #if HAS_TEMP_ADC_0
154
     adc1_config_channel_atten(get_channel(TEMP_0_PIN), ADC_ATTEN_11db);
154
     adc1_config_channel_atten(get_channel(TEMP_0_PIN), ADC_ATTEN_11db);

+ 2
- 2
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp View File

1449
           #if HAS_LCD_MENU
1449
           #if HAS_LCD_MENU
1450
             ui.status_printf_P(0, PSTR(MSG_LCD_TILTING_MESH " 3/3"));
1450
             ui.status_printf_P(0, PSTR(MSG_LCD_TILTING_MESH " 3/3"));
1451
           #endif
1451
           #endif
1452
-          
1452
+
1453
           measured_z = probe_pt(PROBE_PT_3_X, PROBE_PT_3_Y, PROBE_PT_STOW, g29_verbose_level);
1453
           measured_z = probe_pt(PROBE_PT_3_X, PROBE_PT_3_Y, PROBE_PT_STOW, g29_verbose_level);
1454
           //z3 = measured_z;
1454
           //z3 = measured_z;
1455
           if (isnan(measured_z))
1455
           if (isnan(measured_z))
1477
       else { // !do_3_pt_leveling
1477
       else { // !do_3_pt_leveling
1478
 
1478
 
1479
         bool zig_zag = false;
1479
         bool zig_zag = false;
1480
-        
1480
+
1481
         uint16_t total_points = g29_grid_size * g29_grid_size, current = 1;
1481
         uint16_t total_points = g29_grid_size * g29_grid_size, current = 1;
1482
 
1482
 
1483
         for (uint8_t ix = 0; ix < g29_grid_size; ix++) {
1483
         for (uint8_t ix = 0; ix < g29_grid_size; ix++) {

+ 3
- 3
Marlin/src/gcode/config/M43.cpp View File

141
 
141
 
142
     // First, check for a probe that recognizes an advanced BLTouch sequence.
142
     // First, check for a probe that recognizes an advanced BLTouch sequence.
143
     // In addition to STOW and DEPLOY, it uses SW MODE (and RESET in the beginning)
143
     // In addition to STOW and DEPLOY, it uses SW MODE (and RESET in the beginning)
144
-    // to see if this is one of the following: BLTOUCH Classic 1.2, 1.3,  or 
144
+    // to see if this is one of the following: BLTOUCH Classic 1.2, 1.3,  or
145
     // BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1. But only if the user has actually
145
     // BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1. But only if the user has actually
146
     // configured a BLTouch as being present. If the user has not configured this,
146
     // configured a BLTouch as being present. If the user has not configured this,
147
     // the BLTouch will be detected in the last phase of these tests (see further on).
147
     // the BLTouch will be detected in the last phase of these tests (see further on).
220
 
220
 
221
         if (probe_counter == 15)
221
         if (probe_counter == 15)
222
           SERIAL_ECHOLNPGM(". Pulse width: 30ms or more");
222
           SERIAL_ECHOLNPGM(". Pulse width: 30ms or more");
223
-        else 
223
+        else
224
           SERIAL_ECHOLNPAIR(". Pulse width (+/- 4ms): ", probe_counter * 2);
224
           SERIAL_ECHOLNPAIR(". Pulse width (+/- 4ms): ", probe_counter * 2);
225
-          
225
+
226
         if (probe_counter >= 4) {
226
         if (probe_counter >= 4) {
227
           if (probe_counter == 15) {
227
           if (probe_counter == 15) {
228
             if (blt) SERIAL_ECHOPGM("= BLTouch V3.1");
228
             if (blt) SERIAL_ECHOPGM("= BLTouch V3.1");

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

417
   #if ENABLED(SPINDLE_LASER_ENABLE)
417
   #if ENABLED(SPINDLE_LASER_ENABLE)
418
     MENU_ITEM(submenu, MSG_LASER_MENU, menu_spindle_laser);
418
     MENU_ITEM(submenu, MSG_LASER_MENU, menu_spindle_laser);
419
   #endif
419
   #endif
420
-  
420
+
421
   #if HAS_TEMP_HOTEND
421
   #if HAS_TEMP_HOTEND
422
 
422
 
423
     //
423
     //

Loading…
Cancel
Save