Updated sinqMotor version

This commit is contained in:
2025-06-16 16:18:06 +02:00
parent b27babfa10
commit c1cb407ea3
2 changed files with 8 additions and 8 deletions

View File

@@ -1,15 +1,11 @@
#ifndef turboPmacAXIS_H
#define turboPmacAXIS_H
#include "sinqAxis.h"
#include "sinqController.h"
#include "turboPmacController.h"
#include <memory>
struct turboPmacAxisImpl;
// Forward declaration of the controller class to resolve the cyclic dependency
// between the controller and the axis .h-file. See
// https://en.cppreference.com/w/cpp/language/class.
class turboPmacController;
class turboPmacAxis : public sinqAxis {
public:
/**
@@ -145,7 +141,7 @@ class turboPmacAxis : public sinqAxis {
/**
* @brief Return a pointer to the axis controller
*/
turboPmacController *pController() override { return pC_; };
virtual turboPmacController *pController() override { return pC_; };
private:
turboPmacController *pC_;