Skip to content

Commit

Permalink
Updating docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
CIPop committed Apr 27, 2021
1 parent f82310b commit c676a4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/hfsm_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ This implementation requires n + 2 stack frames, where n is the depth of the hie

## 2. hfsm_hardcoded: Hardcoded hierarchy definition

Stack usage improvements:

1. Superstate event handling (`default:` switch case) can be postponed after the stack-frame exits, within the `hfsm_post_event()` function by using return codes. The deep CPU stack can be converted into a `for` loop.
1. Constant stack usage: superstate event handling (`default:` switch case) can be postponed after the stack-frame exits, within the `hfsm_post_event()` function by using return codes. The deep CPU stack can be converted into a `for` loop.

0 comments on commit c676a4a

Please sign in to comment.