Initialize invert_probe
authorJames Richters <james@productionautomation.net>
Mon, 23 Apr 2018 17:31:37 +0000 (13:31 -0400)
committerJames Richters <james@productionautomation.net>
Mon, 23 Apr 2018 17:31:37 +0000 (13:31 -0400)
src/modules/tools/zprobe/ZProbe.cpp

index 23c6b75..9e3a5d2 100644 (file)
@@ -73,6 +73,7 @@ void ZProbe::on_module_loaded()
 
     // we read the probe in this timer
     probing= false;
+    invert_probe= false;
     THEKERNEL->slow_ticker->attach(1000, this, &ZProbe::read_probe);
 }