Преглед изворни кода

Replace ENABLED with DEFINED for SERVO_ENDSTOPS (PR#2542)

Scott Lahteine пре 10 година
родитељ
комит
9f48798ffd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Прегледај датотеку

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…
Откажи
Сачувај