Browse Source

Replace ENABLED with DEFINED for SERVO_ENDSTOPS (PR#2542)

Scott Lahteine 10 years ago
parent
commit
9f48798ffd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

2779
         //      added here, it could be seen as a compensating factor for the Z probe.
2779
         //      added here, it could be seen as a compensating factor for the Z probe.
2780
         //
2780
         //
2781
         current_position[Z_AXIS] = -zprobe_zoffset + (z_tmp - real_z)
2781
         current_position[Z_AXIS] = -zprobe_zoffset + (z_tmp - real_z)
2782
-          #if ENABLED(SERVO_ENDSTOPS) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED)
2782
+          #if defined(SERVO_ENDSTOPS) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED)
2783
              + Z_RAISE_AFTER_PROBING
2783
              + Z_RAISE_AFTER_PROBING
2784
           #endif
2784
           #endif
2785
           ;
2785
           ;

Loading…
Cancel
Save