Skip to content

Commit 1bdbd1c

Browse files
authored
Merge pull request betaflight#7847 from ctzsnooze/Update_Abs_Control_Debug
log acCorrection, not acError
2 parents c04dcd0 + 7101fe2 commit 1bdbd1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/flight/pid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ STATIC_UNIT_TESTED void applyAbsoluteControl(const int axis, const float gyroRat
11041104
*currentPidSetpoint += acCorrection;
11051105
*itermErrorRate += acCorrection;
11061106
if (axis == FD_ROLL) {
1107-
DEBUG_SET(DEBUG_ITERM_RELAX, 3, lrintf(axisError[axis] * 10));
1107+
DEBUG_SET(DEBUG_ITERM_RELAX, 3, lrintf(acCorrection * 10));
11081108
}
11091109
}
11101110
}

0 commit comments

Comments
 (0)