From 378eda5b9f70de35e3a1d67b60a35a2c0b1bcc32 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 19 Apr 2011 13:54:48 -0400 Subject: [PATCH] Correct axis.channel_config -> axis.axis_channel_config typo. --- pyafm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyafm.py b/pyafm.py index c16b0b8..d46a935 100644 --- a/pyafm.py +++ b/pyafm.py @@ -70,7 +70,7 @@ class AFM (object): axis = self.piezo.axis_by_name(self.axis_name) zero = _convert_volts_to_bits(axis.axis_channel_config, 0) - target_def = _convert_volts_to_bits(axis.channel_config, setpoint) + target_def = _convert_volts_to_bits(axis.axis_channel_config, setpoint) LOG.debug('zero the %s piezo output' % self.axis_name) self.piezo.jump(axis_name=self.axis_name, position=zero) -- 2.26.2