AP_WheelEncoder: quadrature spelling changed

This commit is contained in:
divyateja04 2021-10-26 18:31:13 +05:30 committed by Peter Barker
parent 51ccc1822c
commit 24eb35f0f6
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();

View File

@ -20,7 +20,7 @@
#include <AP_Math/AP_Math.h>
#include <SITL/SITL.h>
class AP_WheelEncoder_SITL_Qaudrature : public AP_WheelEncoder_Backend
class AP_WheelEncoder_SITL_Quadrature : public AP_WheelEncoder_Backend
{
public:
// constructor