probe_eddy_current: fix attribute name
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
236d780a0a
commit
29bfbd02f9
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user