AP_IOMCU: use unbuffered UART writes

this lowers latency for servo outputs to the IOMCU
This commit is contained in:
Andrew Tridgell 2018-01-22 07:29:15 +11:00
parent 3f2cc2c9d6
commit 5ffcff1a79

View File

@ -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);