projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbb3e2
)
init saved_calibration_t array for daqcard 6062e
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 26 Apr 2003 18:54:53 +0000
(18:54 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 26 Apr 2003 18:54:53 +0000
(18:54 +0000)
comedi_calibrate/ni.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/ni.c
b/comedi_calibrate/ni.c
index 0f725864cb0cbc7cee59a0f138ce5482df3ad142..c8581dd9bb672365995498f8a4b249e3c73a0cdc 100644
(file)
--- a/
comedi_calibrate/ni.c
+++ b/
comedi_calibrate/ni.c
@@
-859,6
+859,8
@@
static int cal_ni_daqcard_6062e( calibration_setup_t *setup )
current_cal = saved_cals;
+ memset( saved_cals, 0, sizeof( saved_cals ) );
+
cal_postgain_binary( setup, ni_zero_offset_low, ni_zero_offset_high, ADC_PREGAIN_OFFSET );
cal_binary( setup, ni_zero_offset_high, ADC_POSTGAIN_OFFSET );
cal_binary( setup, ni_reference_low, ADC_GAIN );