projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c42a1a
)
don't let people run at RT priority
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 17 Jul 2002 18:53:35 +0000
(18:53 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 17 Jul 2002 18:53:35 +0000
(18:53 +0000)
comedi/drivers/comedi_test.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/comedi_test.c
b/comedi/drivers/comedi_test.c
index 8c211322ad6d97b3d38bf2d7deb325db715c899d..5d879e06f55f9164dd10bfce272b463ad39bc281 100644
(file)
--- a/
comedi/drivers/comedi_test.c
+++ b/
comedi/drivers/comedi_test.c
@@
-370,6
+370,12
@@
static int waveform_ai_cmd(comedi_device *dev, comedi_subdevice *s)
{
comedi_cmd *cmd = &s->async->cmd;
+ if( cmd->flags & TRIG_RT )
+ {
+ comedi_error( dev, "commands at RT priority not supported in this driver" );
+ return -1;
+ }
+
devpriv->timer_running = 1;
devpriv->ai_count = 0;
devpriv->scan_period = cmd->scan_begin_arg / nano_per_micro;