1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1371 fix for hitl: turn of receiver alarm if in gcs control mode (but set warning)

This commit is contained in:
Corvus Corax 2014-06-18 22:46:44 +02:00
parent f1b7f339b6
commit 3f11f4f6b2

View File

@ -200,6 +200,8 @@ static void receiverTask(__attribute__((unused)) void *parameters)
UAVObjSetAccess(&metadata, ACCESS_READWRITE); UAVObjSetAccess(&metadata, ACCESS_READWRITE);
ManualControlCommandSetMetadata(&metadata); ManualControlCommandSetMetadata(&metadata);
} }
AlarmsSet(SYSTEMALARMS_ALARM_RECEIVER, SYSTEMALARMS_ALARM_WARNING);
continue;
} }
bool valid_input_detected = true; bool valid_input_detected = true;