projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdecfc
)
add warning to 6711 calibration if driver version might be too old
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 9 Jun 2004 23:08:26 +0000
(23:08 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 9 Jun 2004 23:08:26 +0000
(23:08 +0000)
comedi_calibrate/ni.c
patch
|
blob
|
history
diff --git
a/comedi_calibrate/ni.c
b/comedi_calibrate/ni.c
index c028fbd0603bfc161d48124ba4c39eac6df7233d..9f26911e73f57c0c985541c5beeebaa5a4ab307b 100644
(file)
--- a/
comedi_calibrate/ni.c
+++ b/
comedi_calibrate/ni.c
@@
-1628,7
+1628,12
@@
static void ni67xx_setup_observables( calibration_setup_t *setup )
static int cal_ni_pci_6711(calibration_setup_t *setup)
{
generic_layout_t layout;
-
+
+ if( comedi_get_version_code( setup->dev ) <= COMEDI_VERSION_CODE(0, 7, 69))
+ {
+ DPRINT(0, "WARNING: you need comedi driver version 0.7.69 or later\n"
+ "for this calibration to work properly\n" );
+ }
init_generic_layout( &layout );
layout.dac_gain = ni67xx_ao_gain_caldac;
layout.dac_linearity = ni67xx_ao_linearity_caldac;