Browse Source

Minor spacing fix

Scott Lahteine 5 years ago
parent
commit
0495fcd475

+ 3
- 3
Marlin/src/HAL/HAL_ESP32/HAL_spi_ESP32.cpp View File

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

+ 1
- 1
Marlin/src/gcode/control/M17_M18_M84.cpp View File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 
23 23
 #include "../gcode.h"
24
-#include "../../Marlin.h" // for stepper_inactive_time
24
+#include "../../Marlin.h" // for stepper_inactive_time, disable_e_steppers
25 25
 #include "../../lcd/ultralcd.h"
26 26
 #include "../../module/stepper.h"
27 27
 

+ 3
- 6
Marlin/src/lcd/menu/menu_motion.cpp View File

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

+ 2
- 2
Marlin/src/module/probe.cpp View File

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

Loading…
Cancel
Save