1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +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){
// 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);
continue;
}