HAL_Linux: implement _timer_tick in UARTDriver
This commit is contained in:
parent
865e4f3104
commit
22de99dd58
@ -309,12 +309,12 @@ void Scheduler::_run_io(void)
|
||||
void Scheduler::_run_uarts()
|
||||
{
|
||||
// process any pending serial bytes
|
||||
UARTDriver::from(hal.uartA)->_timer_tick();
|
||||
UARTDriver::from(hal.uartB)->_timer_tick();
|
||||
UARTDriver::from(hal.uartC)->_timer_tick();
|
||||
UARTDriver::from(hal.uartD)->_timer_tick();
|
||||
UARTDriver::from(hal.uartE)->_timer_tick();
|
||||
UARTDriver::from(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();
|
||||
}
|
||||
|
||||
void Scheduler::_rcin_task()
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
void set_device_path(const char *path);
|
||||
|
||||
bool _write_pending_bytes(void);
|
||||
virtual void _timer_tick(void);
|
||||
virtual void _timer_tick(void) override;
|
||||
|
||||
virtual enum flow_control get_flow_control(void) override
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user