diff --git a/Marlin/src/HAL/HAL_ESP32/HAL.cpp b/Marlin/src/HAL/HAL_ESP32/HAL.cpp index d7b763f041191c3254d803fe8fb456031705af71..00a40fbbe8635b9b2092504e64c5eccb00b391bf 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 09bb7a23e1bf5933683c2ff42af0e62fedbd3cdf..ca06e667042dc28fc663a8a2284444592cebae45 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 c46e7005be50ce2e247278b5ba49e79813066ad3..11f6c8bfb4a3b3cf430b82ae2d02402530657996 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 f41fb18e7956785763781579a99d1e6ac33ddbfb..ffb52b5499940c7bff8a2242a755a171cd831232 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 //