diff --git a/linux/devices/ploc/PlocMPSoCHandler.cpp b/linux/devices/ploc/PlocMPSoCHandler.cpp index ce5f7558..03c2f449 100644 --- a/linux/devices/ploc/PlocMPSoCHandler.cpp +++ b/linux/devices/ploc/PlocMPSoCHandler.cpp @@ -1014,7 +1014,7 @@ void PlocMPSoCHandler::handleActionCommandFailure(ActionId_t actionId) { switch (powerState) { case PowerState::BOOTING: { sif::info << "PlocMPSoCHandler::handleActionCommandFailure: MPSoC boot command failed" - << std::endl; + << std::endl; // This is commonly the case when the MPSoC is already operational. Thus the power state is // set to on here powerState = PowerState::ON; diff --git a/linux/devices/ploc/PlocSupervisorHandler.cpp b/linux/devices/ploc/PlocSupervisorHandler.cpp index 2f76233a..b5f5ca6c 100644 --- a/linux/devices/ploc/PlocSupervisorHandler.cpp +++ b/linux/devices/ploc/PlocSupervisorHandler.cpp @@ -1314,9 +1314,7 @@ ReturnValue_t PlocSupervisorHandler::doSendReadHook() { return RETURN_OK; } -void PlocSupervisorHandler::doOffActivity() { - startupState = StartupState::OFF; -} +void PlocSupervisorHandler::doOffActivity() { startupState = StartupState::OFF; } void PlocSupervisorHandler::handleDeviceTM(const uint8_t* data, size_t dataSize, DeviceCommandId_t replyId) { diff --git a/linux/devices/ploc/PlocSupervisorHandler.h b/linux/devices/ploc/PlocSupervisorHandler.h index fea2ee39..3ef6a7ce 100644 --- a/linux/devices/ploc/PlocSupervisorHandler.h +++ b/linux/devices/ploc/PlocSupervisorHandler.h @@ -91,13 +91,7 @@ class PlocSupervisorHandler : public DeviceHandlerBase { static const uint32_t MRAM_DUMP_TIMEOUT = 60000; // 2 s static const uint32_t BOOT_TIMEOUT = 2000; - enum class StartupState: uint8_t { - OFF, - BOOTING, - SET_TIME, - SET_TIME_EXECUTING, - ON - }; + enum class StartupState : uint8_t { OFF, BOOTING, SET_TIME, SET_TIME_EXECUTING, ON }; StartupState startupState = StartupState::OFF;