fix formatting

This commit is contained in:
Kemal Hadimli 2013-12-24 02:20:17 +02:00
parent 11abec88ed
commit ab49f4efd2
1 changed files with 4 additions and 3 deletions

View File

@ -123,12 +123,13 @@ void gpsInitHardware(void)
// UBX will run at mcfg.baudrate, it shouldn't be "autodetected". So here we force it to that rate
// Wait until GPS transmit buffer is empty
if (!isSerialTransmitBufferEmpty(core.gpsport))
break;
if (!isSerialTransmitBufferEmpty(core.gpsport))
break;
if (gpsData.state == GPS_INITIALIZING) {
uint32_t m = millis();
if (m - gpsData.state_ts < GPS_BAUD_DELAY) return;
if (m - gpsData.state_ts < GPS_BAUD_DELAY)
return;
if (gpsData.state_position < GPS_INIT_ENTRIES) {
// try different speed to INIT