mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
White space tidy
This commit is contained in:
parent
d25c852098
commit
ff16686893
58 changed files with 310 additions and 310 deletions
|
@ -274,7 +274,7 @@ void gpsInit(void)
|
|||
gpsSetState(GPS_UNKNOWN);
|
||||
|
||||
gpsData.lastMessage = millis();
|
||||
|
||||
|
||||
if (gpsConfig()->provider == GPS_MSP) { // no serial ports used when GPS_MSP is configured
|
||||
gpsSetState(GPS_INITIALIZED);
|
||||
return;
|
||||
|
@ -543,7 +543,7 @@ void gpsUpdate(timeUs_t currentTimeUs)
|
|||
gpsData.messageState = GPS_MESSAGE_STATE_PEDESTRIAN_TO_AIRBORNE;
|
||||
gpsData.state_position = 0;
|
||||
}
|
||||
if (gpsData.messageState == GPS_MESSAGE_STATE_PEDESTRIAN_TO_AIRBORNE) {
|
||||
if (gpsData.messageState == GPS_MESSAGE_STATE_PEDESTRIAN_TO_AIRBORNE) {
|
||||
if (gpsData.state_position < sizeof(ubloxAirborne)) {
|
||||
if (isSerialTransmitBufferEmpty(gpsPort)) {
|
||||
serialWrite(gpsPort, ubloxAirborne[gpsData.state_position]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue