show trim being set to 0
authorJim Morris <morris@wolfman.com>
Mon, 5 May 2014 05:44:17 +0000 (22:44 -0700)
committerJim Morris <morris@wolfman.com>
Mon, 5 May 2014 05:44:17 +0000 (22:44 -0700)
src/modules/tools/zprobe/ZProbe.cpp

index 5be0c3e..1372d9d 100644 (file)
@@ -236,7 +236,7 @@ bool ZProbe::calibrate_delta_endstops(Gcode *gcode)
     float trimx= 0.0F, trimy= 0.0F, trimz= 0.0F;
     if(!keep) {
         // zero trim values
-        if(!set_trim(0, 0, 0, &(StreamOutput::NullStream))) return false;
+        if(!set_trim(0, 0, 0, gcode->stream)) return false;
 
     }else{
         // get current trim, and continue from that