projects
/
pycomedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55be05
)
calibration: set .num_arefs in CalibrationSetting._arefs_set.
author
W. Trevor King
<wking@tremily.us>
Wed, 17 Oct 2012 17:07:23 +0000
(13:07 -0400)
committer
W. Trevor King
<wking@tremily.us>
Wed, 17 Oct 2012 17:07:23 +0000
(13:07 -0400)
pycomedi/calibration.pyx
patch
|
blob
|
history
diff --git
a/pycomedi/calibration.pyx
b/pycomedi/calibration.pyx
index 7a7eb5f21dda6e590f1a949195a6fea81d6f77c4..67eed07ba69309caead052db90b1ccedf57613a7 100644
(file)
--- a/
pycomedi/calibration.pyx
+++ b/
pycomedi/calibration.pyx
@@
-530,6
+530,7
@@
cdef class CalibrationSetting (object):
self.setting.arefs[i] = x
for i in range(length, _comedilib_h.CS_MAX_AREFS_LENGTH):
self.setting.arefs[i] = 0
+ self.setting.num_arefs = length
arefs = property(fget=_arefs_get, fset=_arefs_set)
def _caldacs_get(self):