From 4e8f822b2d4bc396746b76571d0fb008ec366dbd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 19 Apr 2011 16:57:57 -0400 Subject: [PATCH] Fix typos pyiezo -> piezo. --- pyafm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyafm.py b/pyafm.py index 79aec0a..6248c56 100644 --- a/pyafm.py +++ b/pyafm.py @@ -132,13 +132,13 @@ class AFM (object): # back away self.stepper.step_relative(-far, backlash_safe=True) - cd = self.pyiezo.read_deflection() # cd = current deflection in bits + cd = self.piezo.read_deflection() # cd = current deflection in bits LOG.debug('single stepping approach') while cd < target_deflection: LOG.debug('deflection %g < setpoint %g. step closer' % (cd, target_deflection)) self.stepper.single_step(1) # step in - cd = self.pyiezo.read_deflection() + cd = self.piezo.read_deflection() for i in range(2*max(1, self.stepper.backlash)): LOG.debug('additional surface location attempt') -- 2.26.2