mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-26 15:54:15 +01:00
LP-609 uncrustify only
This commit is contained in:
parent
3720c98906
commit
fac1956da4
@ -920,6 +920,7 @@ static uint8_t isAssistedFlightMode(uint8_t position)
|
|||||||
// always applying the "Assisted Control stick deadband" when
|
// always applying the "Assisted Control stick deadband" when
|
||||||
// VelocityRoam is active.
|
// VelocityRoam is active.
|
||||||
FlightModeSettingsData modeSettings;
|
FlightModeSettingsData modeSettings;
|
||||||
|
|
||||||
FlightModeSettingsGet(&modeSettings);
|
FlightModeSettingsGet(&modeSettings);
|
||||||
|
|
||||||
uint8_t thisMode = FLIGHTSTATUS_FLIGHTMODE_MANUAL;
|
uint8_t thisMode = FLIGHTSTATUS_FLIGHTMODE_MANUAL;
|
||||||
@ -942,7 +943,7 @@ static uint8_t isAssistedFlightMode(uint8_t position)
|
|||||||
|
|
||||||
return isAssistedFlag;
|
return isAssistedFlag;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* ifndef PIOS_EXCLUDE_ADVANCED_FEATURES */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
@ -77,13 +77,13 @@
|
|||||||
|
|
||||||
#define ADC_XX_PIN_NOTFOUND -1
|
#define ADC_XX_PIN_NOTFOUND -1
|
||||||
|
|
||||||
#define maxu2(x) ((x)>99?99:(x))
|
#define maxu2(x) ((x) > 99 ? 99 : (x))
|
||||||
#define maxu3(x) ((x)>999?999:(x))
|
#define maxu3(x) ((x) > 999 ? 999 : (x))
|
||||||
#define maxu4(x) ((x)>9999?9999:(x))
|
#define maxu4(x) ((x) > 9999 ? 9999 : (x))
|
||||||
|
|
||||||
#define maxd2(x) ((x)<-99?-99:(maxu2(x)))
|
#define maxd2(x) ((x) < -99 ? -99 : (maxu2(x)))
|
||||||
#define maxd3(x) ((x)<-999?-999:(maxu3(x)))
|
#define maxd3(x) ((x) < -999 ? -999 : (maxu3(x)))
|
||||||
#define maxd4(x) ((x)<-9999?-9999:(maxu4(x)))
|
#define maxd4(x) ((x) < -9999 ? -9999 : (maxu4(x)))
|
||||||
|
|
||||||
static bool module_enabled = false;
|
static bool module_enabled = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user