1
0
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:
Andres 2014-03-28 17:11:55 +01:00
parent 7067f4f8ff
commit a08b7ad21c
2 changed files with 5 additions and 8 deletions

View File

@ -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;
}
/**
* @}
* @}

View File

@ -73,7 +73,7 @@ void baro_airspeedGetMS4525DO(AirspeedSensorData *airspeedSensor, AirspeedSettin
if (retVal != 0) {
AirspeedAlarm(SYSTEMALARMS_ALARM_ERROR);
return;
}