Plane: make GPS UART blocking again

This commit is contained in:
Andrew Tridgell 2013-06-11 18:49:03 +10:00
parent 641ad6bc63
commit 4a0c90246e

View File

@ -312,9 +312,14 @@ static void startup_ground(void)
// 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 0
// leave GPS blocking until we have support for correct handling
// of GPS config in uBlox when non-blocking
hal.uartB->set_blocking_writes(false);
#endif
gcs_send_text_P(SEVERITY_LOW,PSTR("\n\n Ready to FLY."));
}