Skip to content

Commit

Permalink
Fix adjfunc indexing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pmattila committed Aug 15, 2024
1 parent 05570fe commit 1aed082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/fc/rc_adjustments.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,6 @@ void adjustmentRangeReset(int index)
{
adjustmentState[index].deadTime = 0;
adjustmentState[index].trigTime = 0;
adjustmentState[index].adjValue = getAdjustmentValue(index);
adjustmentState[index].adjValue = getAdjustmentValue(adjustmentRanges(index)->function);
adjustmentState[index].chValue = 0;
}

0 comments on commit 1aed082

Please sign in to comment.