From 24eb35f0f6bacbdede5b0c3ceffc39fb05c2325f Mon Sep 17 00:00:00 2001 From: divyateja04 Date: Tue, 26 Oct 2021 18:31:13 +0530 Subject: [PATCH] AP_WheelEncoder: quadrature spelling changed --- libraries/AP_WheelEncoder/AP_WheelEncoder.cpp | 2 +- libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.cpp | 2 +- libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_WheelEncoder/AP_WheelEncoder.cpp b/libraries/AP_WheelEncoder/AP_WheelEncoder.cpp index 1c18459684..2ca8cde3a3 100644 --- a/libraries/AP_WheelEncoder/AP_WheelEncoder.cpp +++ b/libraries/AP_WheelEncoder/AP_WheelEncoder.cpp @@ -174,7 +174,7 @@ void AP_WheelEncoder::init(void) case WheelEncoder_TYPE_SITL_QUADRATURE: #if CONFIG_HAL_BOARD == HAL_BOARD_SITL - drivers[i] = new AP_WheelEncoder_SITL_Qaudrature(*this, i, state[i]); + drivers[i] = new AP_WheelEncoder_SITL_Quadrature(*this, i, state[i]); #endif break; diff --git a/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.cpp b/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.cpp index 330ede6561..5caa9f0d19 100644 --- a/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.cpp +++ b/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.cpp @@ -22,7 +22,7 @@ extern const AP_HAL::HAL& hal; -void AP_WheelEncoder_SITL_Qaudrature::update(void) +void AP_WheelEncoder_SITL_Quadrature::update(void) { const auto *_sitl = AP::sitl(); diff --git a/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h b/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h index 90f2cef55e..006d9700ca 100644 --- a/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h +++ b/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h @@ -20,7 +20,7 @@ #include #include -class AP_WheelEncoder_SITL_Qaudrature : public AP_WheelEncoder_Backend +class AP_WheelEncoder_SITL_Quadrature : public AP_WheelEncoder_Backend { public: // constructor