refactor power code
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
2023-03-14 13:32:13 +01:00
parent b43e1ef4e9
commit c9e16642c5
10 changed files with 73 additions and 51 deletions

View File

@ -66,6 +66,8 @@ int obsw::obsw(int argc, char* argv[]) {
// Command the EIVE system to safe mode
#if OBSW_COMMAND_SAFE_MODE_AT_STARTUP == 1
// This ensures that the PCDU switches were updated.
TaskFactory::delayTask(1000);
commandEiveSystemToSafe();
#else
announceAllModes();