HAL_VRBRAIN: implement _timer_tick in UARTDriver
This commit is contained in:
parent
e276edbb03
commit
2bb99bfe53
@ -363,12 +363,12 @@ void *VRBRAINScheduler::_uart_thread(void *arg)
|
||||
sched->delay_microseconds_semaphore(1000);
|
||||
|
||||
// process any pending serial bytes
|
||||
((VRBRAINUARTDriver *)hal.uartA)->_timer_tick();
|
||||
((VRBRAINUARTDriver *)hal.uartB)->_timer_tick();
|
||||
((VRBRAINUARTDriver *)hal.uartC)->_timer_tick();
|
||||
((VRBRAINUARTDriver *)hal.uartD)->_timer_tick();
|
||||
((VRBRAINUARTDriver *)hal.uartE)->_timer_tick();
|
||||
((VRBRAINUARTDriver *)hal.uartF)->_timer_tick();
|
||||
hal.uartA->_timer_tick();
|
||||
hal.uartB->_timer_tick();
|
||||
hal.uartC->_timer_tick();
|
||||
hal.uartD->_timer_tick();
|
||||
hal.uartE->_timer_tick();
|
||||
hal.uartF->_timer_tick();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user