From c6d39319dedd7304ddd171cf35f6f02b6925ac8f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 26 May 2019 15:24:10 -0500 Subject: [PATCH] Fix some whitespace --- Marlin/src/HAL/HAL_ESP32/HAL.cpp | 2 +- Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp | 4 ++-- Marlin/src/gcode/config/M43.cpp | 6 +++--- Marlin/src/lcd/menu/menu_temperature.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Marlin/src/HAL/HAL_ESP32/HAL.cpp b/Marlin/src/HAL/HAL_ESP32/HAL.cpp index d7b763f04..00a40fbbe 100644 --- a/Marlin/src/HAL/HAL_ESP32/HAL.cpp +++ b/Marlin/src/HAL/HAL_ESP32/HAL.cpp @@ -148,7 +148,7 @@ adc1_channel_t get_channel(int pin) { void HAL_adc_init() { // Configure ADC adc1_config_width(ADC_WIDTH_12Bit); - + // Configure channels only if used as (re-)configuring a pin for ADC that is used elsewhere might have adverse effects #if HAS_TEMP_ADC_0 adc1_config_channel_atten(get_channel(TEMP_0_PIN), ADC_ATTEN_11db); diff --git a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp index 09bb7a23e..ca06e6670 100644 --- a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp +++ b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp @@ -1449,7 +1449,7 @@ #if HAS_LCD_MENU ui.status_printf_P(0, PSTR(MSG_LCD_TILTING_MESH " 3/3")); #endif - + measured_z = probe_pt(PROBE_PT_3_X, PROBE_PT_3_Y, PROBE_PT_STOW, g29_verbose_level); //z3 = measured_z; if (isnan(measured_z)) @@ -1477,7 +1477,7 @@ else { // !do_3_pt_leveling bool zig_zag = false; - + uint16_t total_points = g29_grid_size * g29_grid_size, current = 1; for (uint8_t ix = 0; ix < g29_grid_size; ix++) { diff --git a/Marlin/src/gcode/config/M43.cpp b/Marlin/src/gcode/config/M43.cpp index c46e7005b..11f6c8bfb 100644 --- a/Marlin/src/gcode/config/M43.cpp +++ b/Marlin/src/gcode/config/M43.cpp @@ -141,7 +141,7 @@ inline void servo_probe_test() { // First, check for a probe that recognizes an advanced BLTouch sequence. // In addition to STOW and DEPLOY, it uses SW MODE (and RESET in the beginning) - // to see if this is one of the following: BLTOUCH Classic 1.2, 1.3, or + // to see if this is one of the following: BLTOUCH Classic 1.2, 1.3, or // BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1. But only if the user has actually // configured a BLTouch as being present. If the user has not configured this, // the BLTouch will be detected in the last phase of these tests (see further on). @@ -220,9 +220,9 @@ inline void servo_probe_test() { if (probe_counter == 15) SERIAL_ECHOLNPGM(". Pulse width: 30ms or more"); - else + else SERIAL_ECHOLNPAIR(". Pulse width (+/- 4ms): ", probe_counter * 2); - + if (probe_counter >= 4) { if (probe_counter == 15) { if (blt) SERIAL_ECHOPGM("= BLTouch V3.1"); diff --git a/Marlin/src/lcd/menu/menu_temperature.cpp b/Marlin/src/lcd/menu/menu_temperature.cpp index f41fb18e7..ffb52b549 100644 --- a/Marlin/src/lcd/menu/menu_temperature.cpp +++ b/Marlin/src/lcd/menu/menu_temperature.cpp @@ -417,7 +417,7 @@ void menu_temperature() { #if ENABLED(SPINDLE_LASER_ENABLE) MENU_ITEM(submenu, MSG_LASER_MENU, menu_spindle_laser); #endif - + #if HAS_TEMP_HOTEND //