From 8f2b2cfe31cab63adb022fa99fc3987b679c8df5 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 16 Apr 2024 19:23:52 +0100 Subject: [PATCH] Filter: HarmonicNotchFilter: convert harmonics as a bitmask --- libraries/Filter/HarmonicNotchFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Filter/HarmonicNotchFilter.cpp b/libraries/Filter/HarmonicNotchFilter.cpp index a710de35daa7c..f3329715913f2 100644 --- a/libraries/Filter/HarmonicNotchFilter.cpp +++ b/libraries/Filter/HarmonicNotchFilter.cpp @@ -515,7 +515,7 @@ HarmonicNotchFilterParams::HarmonicNotchFilterParams(void) void HarmonicNotchFilterParams::init() { - _harmonics.convert_parameter_width(AP_PARAM_INT8); + _harmonics.convert_bitmask_parameter_width(AP_PARAM_INT8); } /*