projects
/
pyafm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc857f
)
Correct axis.channel_config -> axis.axis_channel_config typo.
author
W. Trevor King
<wking@drexel.edu>
Tue, 19 Apr 2011 17:54:48 +0000
(13:54 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 19 Apr 2011 17:54:48 +0000
(13:54 -0400)
pyafm.py
patch
|
blob
|
history
diff --git
a/pyafm.py
b/pyafm.py
index c16b0b8d79fafffac4dd591507333ee98027af32..d46a935cd3521fd5f739314e6d8b9f46d0cec0c4 100644
(file)
--- 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)