| 520 | #endif // HAL_MONITOR_THREAD_ENABLED |
| 521 | |
| 522 | void Scheduler::_rcin_thread(void *arg) |
| 523 | { |
| 524 | Scheduler *sched = (Scheduler *)arg; |
| 525 | chRegSetThreadName("rcin"); |
| 526 | while (!sched->_hal_initialized) { |
| 527 | sched->delay_microseconds(20000); |
| 528 | } |
| 529 | while (true) { |
| 530 | sched->delay_microseconds(1000); |
| 531 | ((RCInput *)hal.rcin)->_timer_tick(); |
| 532 | } |
| 533 | } |
| 534 | |
| 535 | void Scheduler::_run_io(void) |
| 536 | { |
nothing calls this directly
no test coverage detected