projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322bb48
)
hmm, should have left postgain offset caldac as argument to
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 26 Apr 2003 22:24:37 +0000
(22:24 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 26 Apr 2003 22:24:37 +0000
(22:24 +0000)
cal_postgain() for 6062e
comedi_calibrate/ni.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/ni.c
b/comedi_calibrate/ni.c
index c910911906c0a4ac2091cf0d8968cb1ff8ef2e72..6f4830ddef17d57d532e7ee40b5e93c99946da2c 100644
(file)
--- a/
comedi_calibrate/ni.c
+++ b/
comedi_calibrate/ni.c
@@
-861,8
+861,8
@@
static int cal_ni_daqcard_6062e( calibration_setup_t *setup )
memset( saved_cals, 0, sizeof( saved_cals ) );
- cal_postgain_binary( setup, ni_zero_offset_low, ni_zero_offset_high, ADC_P
RE
GAIN_OFFSET );
- cal_binary( setup, ni_zero_offset_high, ADC_P
OST
GAIN_OFFSET );
+ cal_postgain_binary( setup, ni_zero_offset_low, ni_zero_offset_high, ADC_P
OST
GAIN_OFFSET );
+ cal_binary( setup, ni_zero_offset_high, ADC_P
RE
GAIN_OFFSET );
cal_binary( setup, ni_reference_low, ADC_GAIN );
current_cal->subdevice = setup->ad_subdev;