1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-02 19:29:15 +01:00

OP-1329 fix a cherry-pick issue

This commit is contained in:
Alessio Morale 2014-05-07 23:23:51 +02:00
parent 2ceef9ce86
commit 516f359645

View File

@ -160,7 +160,7 @@ static void airspeedTask(__attribute__((unused)) void *parameters)
} }
if(airspeedSettings.AirspeedSensorType == AIRSPEEDSETTINGS_AIRSPEEDSENSORTYPE_NONE){ if(airspeedSettings.AirspeedSensorType == AIRSPEEDSETTINGS_AIRSPEEDSENSORTYPE_NONE){
// no need to check so often until a sensor is enabled // no need to check so often until a sensor is enabled
AirspeedAlarm(SYSTEMALARMS_ALARM_DEFAULT); AlarmsSet(SYSTEMALARMS_ALARM_AIRSPEED, SYSTEMALARMS_ALARM_DEFAULT);
vTaskDelay(5000/ portTICK_RATE_MS); vTaskDelay(5000/ portTICK_RATE_MS);
continue; continue;
} }