From 77d21f9f5d1427d3bd25be1cedcdd1fb8e42d92e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 17 Nov 2019 16:16:18 +1100 Subject: [PATCH] AP_InertialSensor: return HarmonicNotchDynamicMode --- libraries/AP_InertialSensor/AP_InertialSensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.h b/libraries/AP_InertialSensor/AP_InertialSensor.h index 12b59aa1bc..8df2b9caf9 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.h +++ b/libraries/AP_InertialSensor/AP_InertialSensor.h @@ -225,7 +225,7 @@ public: float get_gyro_harmonic_notch_reference(void) const { return _harmonic_notch_filter.reference(); } // harmonic notch tracking mode - uint8_t get_gyro_harmonic_notch_tracking_mode(void) const { return _harmonic_notch_filter.tracking_mode(); } + HarmonicNotchDynamicMode get_gyro_harmonic_notch_tracking_mode(void) const { return _harmonic_notch_filter.tracking_mode(); } // indicate which bit in LOG_BITMASK indicates raw logging enabled void set_log_raw_bit(uint32_t log_raw_bit) { _log_raw_bit = log_raw_bit; }