HAL_PX4: switch to delay_microseconds_semaphore() for UART timer
this may prevent some timing jitter on the GPS UARTs
This commit is contained in:
parent
674ec54b5f
commit
9f36acbb92
@ -276,7 +276,7 @@ void *PX4Scheduler::_uart_thread(void)
|
||||
poll(NULL, 0, 1);
|
||||
}
|
||||
while (!_px4_thread_should_exit) {
|
||||
poll(NULL, 0, 1);
|
||||
delay_microseconds_semaphore(1000);
|
||||
|
||||
// process any pending serial bytes
|
||||
((PX4UARTDriver *)hal.uartA)->_timer_tick();
|
||||
|
Loading…
Reference in New Issue
Block a user