Browse Source

Merge branch 'sf0x_paranoid' of github.com:PX4/Firmware into swissfang

sbg
Lorenz Meier 11 years ago
parent
commit
f5f0892b7a
  1. 4
      src/drivers/sf0x/sf0x.cpp

4
src/drivers/sf0x/sf0x.cpp

@ -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…
Cancel
Save