forked from Archive/PX4-Autopilot
Merge branch 'sf0x_paranoid' of github.com:PX4/Firmware into swissfang
This commit is contained in:
commit
f5f0892b7a
|
@ -707,12 +707,12 @@ SF0X::cycle()
|
||||||
int collect_ret = collect();
|
int collect_ret = collect();
|
||||||
|
|
||||||
if (collect_ret == -EAGAIN) {
|
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_queue(HPWORK,
|
||||||
&_work,
|
&_work,
|
||||||
(worker_t)&SF0X::cycle_trampoline,
|
(worker_t)&SF0X::cycle_trampoline,
|
||||||
this,
|
this,
|
||||||
USEC2TICK(1100));
|
USEC2TICK(1042 * 8));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue