switched priorities of scan_task and rt_task to prevent strange 5 millisec timing...
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 4 Jun 2001 01:45:49 +0000 (01:45 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 4 Jun 2001 01:45:49 +0000 (01:45 +0000)
that would occassionaly occur

comedi/drivers/comedi_rt_timer.c

index 999e07545d9885632b4da950041977bceb7038b1..aeeaafc9145f20b3be8d9c9ab28a1739fe96719d 100644 (file)
@@ -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);