projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4d6ca
)
trying to fix dac08 calibration dac, which doesn't seem to be updating
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 5 Jun 2003 19:52:05 +0000
(19:52 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 5 Jun 2003 19:52:05 +0000
(19:52 +0000)
comedi/drivers/cb_pcidas.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_pcidas.c
b/comedi/drivers/cb_pcidas.c
index 7132b0f87804fd1891c5504833c00bbe428fc1de..78ba49729402c1ee4b13bb1fe19cb37892912586 100644
(file)
--- a/
comedi/drivers/cb_pcidas.c
+++ b/
comedi/drivers/cb_pcidas.c
@@
-953,7
+953,12
@@
static int dac08_write( comedi_device *dev, lsampl_t value )
devpriv->dac08_value = value;
+ outw( ( value & 0xff ), devpriv->control_status + CALIBRATION_REG );
+ comedi_udelay( 1 );
outw( SELECT_DAC08_BIT | ( value & 0xff ), devpriv->control_status + CALIBRATION_REG );
+ comedi_udelay( 1 );
+ outw( ( value & 0xff ), devpriv->control_status + CALIBRATION_REG );
+ comedi_udelay( 1 );
return 1;
}