From 2c0efdee5aea79409fd627646d4708a8324d3c54 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 13 Feb 2023 10:03:16 +0100 Subject: [PATCH] printout corrections --- mission/controller/AcsController.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mission/controller/AcsController.cpp b/mission/controller/AcsController.cpp index f2a126dd..ef590b8c 100644 --- a/mission/controller/AcsController.cpp +++ b/mission/controller/AcsController.cpp @@ -571,17 +571,17 @@ void AcsController::modeChanged(Mode_t mode, Submode_t submode) { } void AcsController::announceMode(bool recursive) { - const char* modeStr = "UNKNOWN"; - if(mode == HasModesIF::MODE_OFF) { + const char *modeStr = "UNKNOWN"; + if (mode == HasModesIF::MODE_OFF) { modeStr = "OFF"; - } else if(mode == HasModesIF::MODE_ON) { + } else if (mode == HasModesIF::MODE_ON) { modeStr = "ON"; - } else if(mode == DeviceHandlerIF::MODE_NORMAL) { + } else if (mode == DeviceHandlerIF::MODE_NORMAL) { modeStr = "NORMAL"; } - const char *submodeStr = acs::getModeStr(static_cast(mode)); - sif::info << "ACS controller is now in " << modeStr << " mode with " << - submodeStr << " submode" << std::endl; + const char *submodeStr = acs::getModeStr(static_cast(submode)); + sif::info << "ACS controller is now in " << modeStr << " mode with " << submodeStr << " submode" + << std::endl; return ExtendedControllerBase::announceMode(recursive); }