From 92abd10cc9a07bb506132b8ec002bb57f4035969 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 1 Aug 2007 13:19:14 +0000 Subject: [PATCH] Set SRF_RUNNING in runflags instead of SDF_RUNNING in subdev_flags. --- comedi/kcomedilib/kcomedilib_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 416e42ec..3fe686ca 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -146,8 +146,7 @@ int comedi_command(comedi_t *d,comedi_cmd *cmd) s->runflags |= SRF_RT; comedi_switch_to_rt(dev); - - s->subdev_flags |= SDF_RUNNING; + comedi_set_subdevice_runflags(s, SRF_RUNNING, SRF_RUNNING); comedi_reset_async_buf( async ); -- 2.26.2