Fix some whitespace

This commit is contained in:
Scott Lahteine 2019-05-26 15:24:10 -05:00
parent 212860f090
commit c6d39319de
4 changed files with 7 additions and 7 deletions

View file

@ -148,7 +148,7 @@ adc1_channel_t get_channel(int pin) {
void HAL_adc_init() { void HAL_adc_init() {
// Configure ADC // Configure ADC
adc1_config_width(ADC_WIDTH_12Bit); 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 // 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 #if HAS_TEMP_ADC_0
adc1_config_channel_atten(get_channel(TEMP_0_PIN), ADC_ATTEN_11db); adc1_config_channel_atten(get_channel(TEMP_0_PIN), ADC_ATTEN_11db);

View file

@ -1449,7 +1449,7 @@
#if HAS_LCD_MENU #if HAS_LCD_MENU
ui.status_printf_P(0, PSTR(MSG_LCD_TILTING_MESH " 3/3")); ui.status_printf_P(0, PSTR(MSG_LCD_TILTING_MESH " 3/3"));
#endif #endif
measured_z = probe_pt(PROBE_PT_3_X, PROBE_PT_3_Y, PROBE_PT_STOW, g29_verbose_level); measured_z = probe_pt(PROBE_PT_3_X, PROBE_PT_3_Y, PROBE_PT_STOW, g29_verbose_level);
//z3 = measured_z; //z3 = measured_z;
if (isnan(measured_z)) if (isnan(measured_z))
@ -1477,7 +1477,7 @@
else { // !do_3_pt_leveling else { // !do_3_pt_leveling
bool zig_zag = false; bool zig_zag = false;
uint16_t total_points = g29_grid_size * g29_grid_size, current = 1; uint16_t total_points = g29_grid_size * g29_grid_size, current = 1;
for (uint8_t ix = 0; ix < g29_grid_size; ix++) { for (uint8_t ix = 0; ix < g29_grid_size; ix++) {

View file

@ -141,7 +141,7 @@ inline void servo_probe_test() {
// First, check for a probe that recognizes an advanced BLTouch sequence. // 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) // 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 // 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, // 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). // 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) if (probe_counter == 15)
SERIAL_ECHOLNPGM(". Pulse width: 30ms or more"); SERIAL_ECHOLNPGM(". Pulse width: 30ms or more");
else else
SERIAL_ECHOLNPAIR(". Pulse width (+/- 4ms): ", probe_counter * 2); SERIAL_ECHOLNPAIR(". Pulse width (+/- 4ms): ", probe_counter * 2);
if (probe_counter >= 4) { if (probe_counter >= 4) {
if (probe_counter == 15) { if (probe_counter == 15) {
if (blt) SERIAL_ECHOPGM("= BLTouch V3.1"); if (blt) SERIAL_ECHOPGM("= BLTouch V3.1");

View file

@ -417,7 +417,7 @@ void menu_temperature() {
#if ENABLED(SPINDLE_LASER_ENABLE) #if ENABLED(SPINDLE_LASER_ENABLE)
MENU_ITEM(submenu, MSG_LASER_MENU, menu_spindle_laser); MENU_ITEM(submenu, MSG_LASER_MENU, menu_spindle_laser);
#endif #endif
#if HAS_TEMP_HOTEND #if HAS_TEMP_HOTEND
// //