Always set invert_probe back to false when finished.
authorJames Richters <james@productionautomation.net>
Mon, 23 Apr 2018 16:55:08 +0000 (12:55 -0400)
committerJames Richters <james@productionautomation.net>
Mon, 23 Apr 2018 16:55:08 +0000 (12:55 -0400)
src/modules/tools/zprobe/ZProbe.cpp

index 3ef6d38..b16a3d1 100644 (file)
@@ -370,6 +370,8 @@ void ZProbe::on_gcode_received(void *argument)
 
         probe_XYZ(gcode, x, y, z);
 
+        invert_probe = false;
+
         return;
 
     } else if(gcode->has_m) {