Skip to content

Commit 60c588d

Browse files
committed
ci: Update state verification script
Allow to re-enter into a parent of a leaf state when using running history. This is done to simplify restart of sampling when returning from FOTA state. Signed-off-by: Jan Tore Guggedal <jantore.guggedal@nordicsemi.no>
1 parent ed6ca45 commit 60c588d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/state_machines/verify_machine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def compare_state_machines(c_code, plantuml):
8585
- PlantUML `[H*]` inside a composite state, with transitions targeting that composite
8686
- C implementation: tracking last active leaf state and restoring it on re-entry
8787
- These are semantically equivalent.
88+
- It is allowed to re-enter into a parent state if the parent state has an initial transition to a child leaf state.
8889
8990
IMPORTANT:
9091
- Focus on semantic equivalence, not syntactic exactness.

0 commit comments

Comments
 (0)