diff --git a/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h b/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h index 9f65a43690..8277624441 100644 --- a/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h +++ b/libraries/AP_WheelEncoder/WheelEncoder_SITL_Quadrature.h @@ -30,7 +30,7 @@ public: void update(void) override; private: - SITL::SITL *_sitl; // pointer to SITL singleton + SITL::SIM *_sitl; // pointer to SITL singleton int32_t _distance_count; // distance count as number of encoder ticks uint32_t _total_count; // total number of encoder ticks