projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072879e
)
generate overflow events when ai fifo overflows with pio transfers
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 29 Dec 2004 01:13:13 +0000
(
01:13
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 29 Dec 2004 01:13:13 +0000
(
01:13
+0000)
comedi/drivers/ni_mio_common.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_mio_common.c
b/comedi/drivers/ni_mio_common.c
index c8fbf2abb7fe4f3243e1644507614223957b7cb2..4bf0c1d418cf6152713df9faddd80bb74f983af7 100644
(file)
--- a/
comedi/drivers/ni_mio_common.c
+++ b/
comedi/drivers/ni_mio_common.c
@@
-603,6
+603,9
@@
static void handle_a_interrupt(comedi_device *dev,unsigned short status,
shutdown_ai_command( dev );
s->async->events |= COMEDI_CB_ERROR;
+ if(status & (AI_Overrun_St | AI_Overflow_St))
+ s->async->events |= COMEDI_CB_OVERFLOW;
+
comedi_event(dev,s,s->async->events);
return;