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:
parent
2ceef9ce86
commit
516f359645
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user