HAL_ChibiOS: run RCIN thread at 1kHz
this gives fast enough response for SBUS parsing on a UART
This commit is contained in:
parent
6983186210
commit
06b272705e
@ -380,7 +380,7 @@ void Scheduler::_rcin_thread(void *arg)
|
||||
sched->delay_microseconds(20000);
|
||||
}
|
||||
while (true) {
|
||||
sched->delay_microseconds(2500);
|
||||
sched->delay_microseconds(1000);
|
||||
((RCInput *)hal.rcin)->_timer_tick();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user