From 34093150da3826712e04ada84bfe52eee40e5bb0 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Oct 2012 13:07:23 -0400 Subject: [PATCH] calibration: set .num_arefs in CalibrationSetting._arefs_set. --- pycomedi/calibration.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/pycomedi/calibration.pyx b/pycomedi/calibration.pyx index 7a7eb5f..67eed07 100644 --- 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): -- 2.26.2