From: W. Trevor King Date: Tue, 19 Apr 2011 20:57:57 +0000 (-0400) Subject: Fix typos pyiezo -> piezo. X-Git-Tag: v0.3~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e8f822b2d4bc396746b76571d0fb008ec366dbd;p=pyafm.git Fix typos pyiezo -> piezo. --- 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')