Ver código fonte

Delete some obsolete Z servo macros

Scott Lahteine 9 anos atrás
pai
commit
defcacc1a9
1 arquivos alterados com 0 adições e 6 exclusões
  1. 0
    6
      Marlin/Marlin_main.cpp

+ 0
- 6
Marlin/Marlin_main.cpp Ver arquivo

@@ -2279,18 +2279,12 @@ static void homeaxis(AxisEnum axis) {
2279 2279
     #if ENABLED(Z_PROBE_SLED)
2280 2280
       #define _Z_DEPLOY           (dock_sled(false))
2281 2281
       #define _Z_STOW             (dock_sled(true))
2282
-      #define _Z_SERVO_TEST       (axis != Z_AXIS)      // already deployed Z
2283
-      #define _Z_SERVO_SUBTEST    false                 // Z will never be invoked
2284 2282
     #elif SERVO_LEVELING || ENABLED(FIX_MOUNTED_PROBE)
2285 2283
       #define _Z_DEPLOY           (deploy_z_probe())
2286 2284
       #define _Z_STOW             (stow_z_probe())
2287
-      #define _Z_SERVO_TEST       (axis != Z_AXIS)      // already deployed Z
2288
-      #define _Z_SERVO_SUBTEST    false                 // Z will never be invoked
2289 2285
     #elif HAS_Z_SERVO_ENDSTOP
2290 2286
       #define _Z_DEPLOY           do{ raise_z_for_servo(Z_RAISE_BEFORE_PROBING); DEPLOY_Z_SERVO(); endstops.z_probe_enabled = true; }while(0)
2291 2287
       #define _Z_STOW             do{ raise_z_for_servo(Z_RAISE_AFTER_PROBING); STOW_Z_SERVO(); endstops.z_probe_enabled = false; }while(0)
2292
-      #define _Z_SERVO_TEST       true                  // Z not deployed yet
2293
-      #define _Z_SERVO_SUBTEST    (axis == Z_AXIS)      // Z is a probe
2294 2288
     #endif
2295 2289
 
2296 2290
     // Homing Z towards the bed? Deploy the Z probe or endstop.

Carregando…
Cancelar
Salvar