mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_IOMCU: use unbuffered UART writes
this lowers latency for servo outputs to the IOMCU
This commit is contained in:
parent
3f2cc2c9d6
commit
5ffcff1a79
@ -145,6 +145,7 @@ void AP_IOMCU::thread_main(void)
|
||||
// uart runs at 1.5MBit
|
||||
uart.begin(1500*1000, 256, 256);
|
||||
uart.set_blocking_writes(false);
|
||||
uart.set_unbuffered_writes(true);
|
||||
|
||||
trigger_event(IOEVENT_INIT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user