Fix reschedule logic for SF02/F driver

This commit is contained in:
Lorenz Meier
2014-08-31 20:55:29 +02:00
parent ee91320299
commit a46e1aa60e
+2 -2
View File
@@ -707,12 +707,12 @@ SF0X::cycle()
int collect_ret = collect();
if (collect_ret == -EAGAIN) {
/* reschedule to grab the missing bits, time to transmit 10 bytes @9600 bps */
/* reschedule to grab the missing bits, time to transmit 8 bytes @ 9600 bps */
work_queue(HPWORK,
&_work,
(worker_t)&SF0X::cycle_trampoline,
this,
USEC2TICK(1100));
USEC2TICK(1042 * 8));
return;
}