From: W. Trevor King Date: Tue, 19 Apr 2011 17:54:48 +0000 (-0400) Subject: Correct axis.channel_config -> axis.axis_channel_config typo. X-Git-Tag: v0.3~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=378eda5b9f70de35e3a1d67b60a35a2c0b1bcc32;p=pyafm.git Correct axis.channel_config -> axis.axis_channel_config typo. --- 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)