From 16ee667963c3723d177fd656efe83073e0871aeb Mon Sep 17 00:00:00 2001 From: smathis Date: Thu, 15 May 2025 14:30:41 +0200 Subject: [PATCH] Overwrote reset from sinqAxis with doReset --- src/detectorTowerAngleAxis.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/detectorTowerAngleAxis.h b/src/detectorTowerAngleAxis.h index b71772e..4049f5c 100644 --- a/src/detectorTowerAngleAxis.h +++ b/src/detectorTowerAngleAxis.h @@ -1,6 +1,7 @@ #ifndef detectorTowerAngleAxis_H #define detectorTowerAngleAxis_H #include "turboPmacAxis.h" +#include // Forward declaration of the controller class to resolve the cyclic dependency // between the controller and the axis .h-file. See @@ -93,6 +94,14 @@ class detectorTowerAngleAxis : public turboPmacAxis { */ asynStatus toggleWorkingChangerState(bool toChangingPosition); + /** + * @brief Overwrite the `reset` function so it doesn't do fast polls + * afterwards. + * + * @return asynStatus + */ + asynStatus reset() { return doReset(); } + /** * @brief Implementation of the `doReset` method of sinqAxis *