Copter: set GPS non-blocking

the new GPS driver only ever needs a non-blocking port
This commit is contained in:
Andrew Tridgell 2014-08-18 23:11:16 +10:00 committed by Randy Mackay
parent 57956dbda2
commit ecd73413db

View File

@ -288,6 +288,7 @@ static void init_ardupilot()
// mid-flight, so set the serial ports non-blocking once we are
// ready to fly
hal.uartA->set_blocking_writes(false);
hal.uartB->set_blocking_writes(false);
hal.uartC->set_blocking_writes(false);
if (hal.uartD != NULL) {
hal.uartD->set_blocking_writes(false);