Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Corrected min constraint value for min ground speed programming framework operand A.
  • Loading branch information
MrD-RC committed Feb 24, 2025
1 parent 2731ed5 commit 52961a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/programming/logic_condition.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ static int logicConditionCompute(
break;

case LOGIC_CONDITION_OVERRIDE_MIN_GROUND_SPEED:
logicConditionValuesByType[LOGIC_CONDITION_OVERRIDE_MIN_GROUND_SPEED] = constrain(operandA, 25, 150);
logicConditionValuesByType[LOGIC_CONDITION_OVERRIDE_MIN_GROUND_SPEED] = constrain(operandA, navConfig()->general.min_ground_speed, 150);
LOGIC_CONDITION_GLOBAL_FLAG_ENABLE(LOGIC_CONDITION_GLOBAL_FLAG_OVERRIDE_MIN_GROUND_SPEED);
return true;
break;
Expand Down

0 comments on commit 52961a9

Please sign in to comment.