APM_Control: include 0 in param range for filter index

This commit is contained in:
Iampete1
2026-08-22 21:38:02 +01:00
committed by Andy Piper
parent d3ba92df8f
commit 489bc1d9bb
4 changed files with 28 additions and 28 deletions
+4 -4
View File
@@ -145,14 +145,14 @@ const AP_Param::GroupInfo AP_PitchController::var_info[] = {
// @Param: _RATE_NTF
// @DisplayName: Pitch Target notch filter index
// @Description: Pitch Target notch filter index
// @Range: 1 8
// @Description: Pitch Target notch filter index, zero disables
// @Range: 0 8
// @User: Advanced
// @Param: _RATE_NEF
// @DisplayName: Pitch Error notch filter index
// @Description: Pitch Error notch filter index
// @Range: 1 8
// @Description: Pitch Error notch filter index, zero disables
// @Range: 0 8
// @User: Advanced
AP_SUBGROUPINFO(rate_pid, "_RATE_", 11, AP_PitchController, AC_PID),