Browse Source

Plane: make GPS UART blocking again

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
4a0c90246e
  1. 7
      ArduPlane/system.pde

7
ArduPlane/system.pde

@ -312,9 +312,14 @@ static void startup_ground(void)
// mid-flight, so set the serial ports non-blocking once we are // mid-flight, so set the serial ports non-blocking once we are
// ready to fly // ready to fly
hal.uartA->set_blocking_writes(false); hal.uartA->set_blocking_writes(false);
hal.uartB->set_blocking_writes(false);
hal.uartC->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.")); gcs_send_text_P(SEVERITY_LOW,PSTR("\n\n Ready to FLY."));
} }

Loading…
Cancel
Save