1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

fix formatting

This commit is contained in:
Kemal Hadimli 2013-12-24 02:20:17 +02:00
parent 11abec88ed
commit ab49f4efd2

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 // 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 // Wait until GPS transmit buffer is empty
if (!isSerialTransmitBufferEmpty(core.gpsport)) if (!isSerialTransmitBufferEmpty(core.gpsport))
break; break;
if (gpsData.state == GPS_INITIALIZING) { if (gpsData.state == GPS_INITIALIZING) {
uint32_t m = millis(); 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) { if (gpsData.state_position < GPS_INIT_ENTRIES) {
// try different speed to INIT // try different speed to INIT