From f1b7a4a06d2532190f95186718603deae841c552 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 4 Jun 2001 01:45:49 +0000 Subject: [PATCH] switched priorities of scan_task and rt_task to prevent strange 5 millisec timing errors that would occassionaly occur --- comedi/drivers/comedi_rt_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/comedi_rt_timer.c b/comedi/drivers/comedi_rt_timer.c index 999e0754..aeeaafc9 100644 --- a/comedi/drivers/comedi_rt_timer.c +++ b/comedi/drivers/comedi_rt_timer.c @@ -512,8 +512,8 @@ static int timer_attach(comedi_device *dev,comedi_devconfig *it) int ret; comedi_subdevice *s, *emul_s; comedi_device *emul_dev; - const int scan_priority = 0; - const int timer_priority = scan_priority + 1; + const int timer_priority = 0; + const int scan_priority = timer_priority + 1; printk("comedi%d: timer: ",dev->minor); -- 2.26.2