From 09a2ba78437517022717bebf8a5999ea70f592ec Mon Sep 17 00:00:00 2001 From: meggert Date: Fri, 14 Apr 2023 18:57:06 +0200 Subject: [PATCH] fixed type --- mission/controller/acs/control/SafeCtrl.cpp | 2 +- mission/controller/acs/control/SafeCtrl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mission/controller/acs/control/SafeCtrl.cpp b/mission/controller/acs/control/SafeCtrl.cpp index f0510e13..ce50f276 100644 --- a/mission/controller/acs/control/SafeCtrl.cpp +++ b/mission/controller/acs/control/SafeCtrl.cpp @@ -9,7 +9,7 @@ SafeCtrl::SafeCtrl(AcsParameters *acsParameters_) { acsParameters = acsParameter SafeCtrl::~SafeCtrl() {} -uint8_t SafeCtrl::safeCtrlStrategy(const bool magFieldValid, const ReturnValue_t mekfValid, +uint8_t SafeCtrl::safeCtrlStrategy(const bool magFieldValid, const bool mekfValid, const bool satRotRateValid, const bool sunDirValid, const uint8_t mekfEnabled, const uint8_t dampingEnabled) { if (not magFieldValid) { diff --git a/mission/controller/acs/control/SafeCtrl.h b/mission/controller/acs/control/SafeCtrl.h index 2df5d500..91625360 100644 --- a/mission/controller/acs/control/SafeCtrl.h +++ b/mission/controller/acs/control/SafeCtrl.h @@ -12,7 +12,7 @@ class SafeCtrl { SafeCtrl(AcsParameters *acsParameters_); virtual ~SafeCtrl(); - uint8_t safeCtrlStrategy(const bool magFieldValid, const ReturnValue_t mekfValid, + uint8_t safeCtrlStrategy(const bool magFieldValid, const bool mekfValid, const bool satRotRateValid, const bool sunDirValid, const uint8_t mekfEnabled, const uint8_t dampingEnabled);