mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-1273 OP-1282 OP-1283 uncrustify
This commit is contained in:
parent
7067f4f8ff
commit
a08b7ad21c
@ -49,19 +49,16 @@ static SystemAlarmsAlarmOptions severitySet = SYSTEMALARMS_ALARM_UNINITIALISED;
|
||||
*/
|
||||
bool AirspeedAlarm(SystemAlarmsAlarmOptions severity)
|
||||
{
|
||||
if( severity == severitySet ){
|
||||
if (severity == severitySet) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
severitySet = severity;
|
||||
|
||||
return ( AlarmsSet(SYSTEMALARMS_ALARM_AIRSPEED, severity) == 0);
|
||||
|
||||
return AlarmsSet(SYSTEMALARMS_ALARM_AIRSPEED, severity) == 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
|
@ -73,7 +73,7 @@ void baro_airspeedGetMS4525DO(AirspeedSensorData *airspeedSensor, AirspeedSettin
|
||||
|
||||
if (retVal != 0) {
|
||||
AirspeedAlarm(SYSTEMALARMS_ALARM_ERROR);
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user