probe_eddy_current: fix attribute name

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan authored and Kevin O'Connor committed 2024-05-21 20:16:31 -04:00
1 parent 236d780a0a
commit 29bfbd02f9
1 file changed
+1 -1
+1 -1
View File
@@ -208,7 +208,7 @@ class EddyEndstopWrapper:
if self._is_sampling:
return
self._is_sampling = True
self._is_from_home = is_home
self._start_from_home = is_home
self._sensor_helper.add_client(self._add_measurement)
def _stop_measurements(self, is_home=False):
if not self._is_sampling or (is_home and not self._start_from_home):