From 08ab5074402a8e3e8c427fe8141cffb943abf2a0 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Thu, 24 Jun 2021 14:19:25 +0200 Subject: [PATCH] removed unused code --- mission/devices/MGMHandlerLIS3MDL.cpp | 7 ++----- mission/devices/MGMHandlerLIS3MDL.h | 3 --- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/mission/devices/MGMHandlerLIS3MDL.cpp b/mission/devices/MGMHandlerLIS3MDL.cpp index 63bf607c..85cb3407 100644 --- a/mission/devices/MGMHandlerLIS3MDL.cpp +++ b/mission/devices/MGMHandlerLIS3MDL.cpp @@ -302,9 +302,9 @@ ReturnValue_t MGMHandlerLIS3MDL::interpretDeviceReply(DeviceCommandId_t id, sif::printInfo("X: %f " "\xC2\xB5" "T\n", mgmX); sif::printInfo("Y: %f " "\xC2\xB5" "T\n", mgmY); sif::printInfo("Z: %f " "\xC2\xB5" "T\n", mgmZ); -#endif +#endif /* FSFW_CPP_OSTREAM_ENABLED == 0 */ } -#endif +#endif /* OBSW_VERBOSE_LEVEL >= 1 */ PoolReadGuard readHelper(&dataset); if(readHelper.getReadResult() == HasReturnvaluesIF::RETURN_OK) { dataset.fieldStrengthX = mgmX; @@ -484,6 +484,3 @@ ReturnValue_t MGMHandlerLIS3MDL::initializeLocalDataPool( new PoolEntry({0.0})); return HasReturnvaluesIF::RETURN_OK; } - -void MGMHandlerLIS3MDL::performOperationHook() { -} diff --git a/mission/devices/MGMHandlerLIS3MDL.h b/mission/devices/MGMHandlerLIS3MDL.h index bb64e63a..5d8364ee 100644 --- a/mission/devices/MGMHandlerLIS3MDL.h +++ b/mission/devices/MGMHandlerLIS3MDL.h @@ -162,9 +162,6 @@ private: #if OBSW_VERBOSE_LEVEL >= 1 PeriodicOperationDivider* debugDivider; #endif - - void performOperationHook() override; - }; #endif /* MISSION_DEVICES_MGMLIS3MDLHANDLER_H_ */