LOG.debug('additional surface location attempt')
try:
pos = self.piezo.get_surface_position(
- axis_name=self.axis_name, max_deflection=target_def)
+ axis_name=self.axis_name, max_deflection=target_deflection)
return pos
except _SurfaceError, e:
LOG.info(e)