refactor power code #470

Merged
muellerr merged 10 commits from refactoring_bugfixes_power_switching into develop 2023-03-17 16:53:51 +01:00
Showing only changes of commit 6e049f3ee1 - Show all commits

View File

@ -36,7 +36,7 @@ will consitute of a breaking change warranting a new major release:
## Changed ## Changed
- Initialize switch states to a special `SWITCH_STATE_UNKNOWN` (2) variable. Return - Initialize switch states to a special `SWITCH_STATE_UNKNOWN` (2) variable. Return
`returnvalue::FAILED` in switch state getter. `PowerSwitchIF::SWITCH_UNKNOWN` in switch state getter if this is the state.
- Wait 1 second before commanding SAFE mode. This ensures or at least increases the chance that - Wait 1 second before commanding SAFE mode. This ensures or at least increases the chance that
the switch states were initialized. the switch states were initialized.
- Dual Lane Assemblies: The returnvalues of the dual lane power state machine FSM are not ignored - Dual Lane Assemblies: The returnvalues of the dual lane power state machine FSM are not ignored