Skip to content

Commit

Permalink
fixing if / else in scxml syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Jun 19, 2024
1 parent abb163b commit 5de8c31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
<transition event="bt_10000_tick" target="initial">
<if cond="last_msg">
<send event="bt_10000_success" />
</if>
<else>
<else/>
<send event="bt_10000_failure" />
</else>
</if>
</transition>
</state>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
<transition event="bt_tick" target="initial">
<if cond="last_msg">
<send event="bt_success" />
</if>
<else>
<else/>
<send event="bt_failure" />
</else>
</if>
</transition>
</state>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
<transition event="bt_tick" target="initial">
<if cond="last_msg">
<send event="bt_success" />
</if>
<else>
<else />
<send event="bt_failure" />
</else>
</if>
</transition>
</state>

Expand Down

0 comments on commit 5de8c31

Please sign in to comment.