Browse Source

Minor spacing fix

pull/1/head
Scott Lahteine 6 years ago
parent
commit
0495fcd475
  1. 6
      Marlin/src/HAL/HAL_ESP32/HAL_spi_ESP32.cpp
  2. 2
      Marlin/src/gcode/control/M17_M18_M84.cpp
  3. 9
      Marlin/src/lcd/menu/menu_motion.cpp
  4. 4
      Marlin/src/module/probe.cpp

6
Marlin/src/HAL/HAL_ESP32/HAL_spi_ESP32.cpp

@ -61,9 +61,9 @@ void spiInit(uint8_t spiRate) {
uint32_t clock; uint32_t clock;
switch (spiRate) { switch (spiRate) {
case SPI_FULL_SPEED: clock = SPI_CLOCK_DIV2 ; break; case SPI_FULL_SPEED: clock = SPI_CLOCK_DIV2; break;
case SPI_HALF_SPEED: clock = SPI_CLOCK_DIV4 ; break; case SPI_HALF_SPEED: clock = SPI_CLOCK_DIV4; break;
case SPI_QUARTER_SPEED: clock = SPI_CLOCK_DIV8 ; break; case SPI_QUARTER_SPEED: clock = SPI_CLOCK_DIV8; break;
case SPI_EIGHTH_SPEED: clock = SPI_CLOCK_DIV16; break; case SPI_EIGHTH_SPEED: clock = SPI_CLOCK_DIV16; break;
case SPI_SPEED_5: clock = SPI_CLOCK_DIV32; break; case SPI_SPEED_5: clock = SPI_CLOCK_DIV32; break;
case SPI_SPEED_6: clock = SPI_CLOCK_DIV64; break; case SPI_SPEED_6: clock = SPI_CLOCK_DIV64; break;

2
Marlin/src/gcode/control/M17_M18_M84.cpp

@ -21,7 +21,7 @@
*/ */
#include "../gcode.h" #include "../gcode.h"
#include "../../Marlin.h" // for stepper_inactive_time #include "../../Marlin.h" // for stepper_inactive_time, disable_e_steppers
#include "../../lcd/ultralcd.h" #include "../../lcd/ultralcd.h"
#include "../../module/stepper.h" #include "../../module/stepper.h"

9
Marlin/src/lcd/menu/menu_motion.cpp

@ -248,12 +248,9 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
START_MENU(); START_MENU();
if (LCD_HEIGHT >= 4) { if (LCD_HEIGHT >= 4) {
switch (axis) { switch (axis) {
case X_AXIS: case X_AXIS: STATIC_ITEM(MSG_MOVE_X, true, true); break;
STATIC_ITEM(MSG_MOVE_X, true, true); break; case Y_AXIS: STATIC_ITEM(MSG_MOVE_Y, true, true); break;
case Y_AXIS: case Z_AXIS: STATIC_ITEM(MSG_MOVE_Z, true, true); break;
STATIC_ITEM(MSG_MOVE_Y, true, true); break;
case Z_AXIS:
STATIC_ITEM(MSG_MOVE_Z, true, true); break;
default: default:
#if ENABLED(MANUAL_E_MOVES_RELATIVE) #if ENABLED(MANUAL_E_MOVES_RELATIVE)
manual_move_e_origin = current_position[E_AXIS]; manual_move_e_origin = current_position[E_AXIS];

4
Marlin/src/module/probe.cpp

@ -38,8 +38,8 @@
#include "../gcode/gcode.h" #include "../gcode/gcode.h"
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#if ENABLED(BLTOUCH) || ENABLED(Z_PROBE_SLED) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(PROBE_TRIGGERED_WHEN_STOWED_TEST) #if ENABLED(BLTOUCH) || ENABLED(Z_PROBE_SLED) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(PROBE_TRIGGERED_WHEN_STOWED_TEST) || (QUIET_PROBING && ENABLED(PROBING_STEPPERS_OFF))
#include "../Marlin.h" // for stop() #include "../Marlin.h" // for stop(), disable_e_steppers
#endif #endif
#if HAS_LEVELING #if HAS_LEVELING

Loading…
Cancel
Save