Skip to content

Commit 0c663ed

Browse files
authored
Merge pull request #442 from Mentalab-hub/hotfix-imp-calculator-not-none
Set imp_calculator to None on disable_imp
2 parents 677eef8 + 2319206 commit 0c663ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/explorepy/stream_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ def disable_imp(self):
483483
cmd = ZMeasurementDisable()
484484
if self.configure_device(cmd):
485485
self._is_imp_mode = False
486+
self.imp_calculator = None
486487
print("Impedance measurement mode has been disabled.")
487488
return True
488489
print("WARNING: Couldn't disable impedance measurement mode. "

0 commit comments

Comments
 (0)