Results 1 to 10 of 396
Threaded View
-
09-24-2014, 09:37 PM #8
I don't remember retract_z_probe() ever having any arguments. I have a different theory. If you go find the declaration:
void retract_z_probe()
and then search for the first occurrence of
if (axis==Z_AXIS)
because that is what that error message:
Marlin_main.cpp:1100:13: error: ‘axis’ was not declared in this scope
if (axis==Z_AXIS)
is complaining about... You find this stuff just before the if (axis==Z_AXIS)
#ifndef Z_PROBE_SLED
engage_z_probe(); // Engage Z Servo endstop if available
#endif // Z_PROBE_SLED
run_z_probe();
float measured_z = current_position[Z_AXIS];
#ifndef Z_PROBE_SLED
if (retract_probe) {
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS],current_position[Z_AXIS]+Z_RAISE_BETWEEN_PROBINGS );
retract_z_probe();
}
#endif // Z_PROBE_SLED
I bet those Z_PROBE_SLED #ifdef problems are biting you!
Please explain to me how to...
05-17-2024, 12:15 PM in 3D Printer Parts, Filament & Materials