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