projects
/
pycomedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafa39d
)
channel: standardize indentation in AnalogChannel._get_converter().
author
W. Trevor King
<wking@tremily.us>
Wed, 17 Oct 2012 15:31:43 +0000
(11:31 -0400)
committer
W. Trevor King
<wking@tremily.us>
Wed, 17 Oct 2012 15:31:43 +0000
(11:31 -0400)
pycomedi/channel.pyx
patch
|
blob
|
history
diff --git
a/pycomedi/channel.pyx
b/pycomedi/channel.pyx
index a79368abdc6fb3ca762b813ba25c284b9b75aea9..4d044fca81fd2347a40d7da51bd3355c2d4703bc 100644
(file)
--- a/
pycomedi/channel.pyx
+++ b/
pycomedi/channel.pyx
@@
-433,10
+433,10
@@
cdef class AnalogChannel (Channel):
if calibration is None:
calibration = self.subdevice.device.parse_calibration()
to_physical = self.get_softcal_converter(
-
_constant.CONVERSION_DIRECTION.to_physical,
+ _constant.CONVERSION_DIRECTION.to_physical,
calibration)
from_physical = self.get_softcal_converter(
-
_constant.CONVERSION_DIRECTION.from_physical,
+ _constant.CONVERSION_DIRECTION.from_physical,
calibration)
else:
to_physical = self.get_hardcal_converter(