run clang format script
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Jakob Meier 2022-05-06 19:53:33 +02:00
parent 322db3d617
commit d9c7cccf76
3 changed files with 3 additions and 11 deletions

View File

@ -1314,9 +1314,7 @@ ReturnValue_t PlocSupervisorHandler::doSendReadHook() {
return RETURN_OK; return RETURN_OK;
} }
void PlocSupervisorHandler::doOffActivity() { void PlocSupervisorHandler::doOffActivity() { startupState = StartupState::OFF; }
startupState = StartupState::OFF;
}
void PlocSupervisorHandler::handleDeviceTM(const uint8_t* data, size_t dataSize, void PlocSupervisorHandler::handleDeviceTM(const uint8_t* data, size_t dataSize,
DeviceCommandId_t replyId) { DeviceCommandId_t replyId) {

View File

@ -91,13 +91,7 @@ class PlocSupervisorHandler : public DeviceHandlerBase {
static const uint32_t MRAM_DUMP_TIMEOUT = 60000; static const uint32_t MRAM_DUMP_TIMEOUT = 60000;
// 2 s // 2 s
static const uint32_t BOOT_TIMEOUT = 2000; static const uint32_t BOOT_TIMEOUT = 2000;
enum class StartupState: uint8_t { enum class StartupState : uint8_t { OFF, BOOTING, SET_TIME, SET_TIME_EXECUTING, ON };
OFF,
BOOTING,
SET_TIME,
SET_TIME_EXECUTING,
ON
};
StartupState startupState = StartupState::OFF; StartupState startupState = StartupState::OFF;