mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-10 01:44:00 -04:00
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);
|
sched->delay_microseconds(20000);
|
||||||
}
|
}
|
||||||
while (true) {
|
while (true) {
|
||||||
sched->delay_microseconds(2500);
|
sched->delay_microseconds(1000);
|
||||||
((RCInput *)hal.rcin)->_timer_tick();
|
((RCInput *)hal.rcin)->_timer_tick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user