Skip to content

Commit 659fccb

Browse files
committed
Update documentation
1 parent 865c8f7 commit 659fccb

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ A compact C finite state machine (FSM) implementation that's easy to use on embe
3737
- [No heap usage](#no-heap-usage)
3838
- [CentrifugeTest example](#centrifugetest-example)
3939
- [Multithread safety](#multithread-safety)
40-
- [Star History](#star-history)
4140
- [Conclusion](#conclusion)
4241
- [References](#references)
4342

@@ -794,12 +793,6 @@ GUARD_DEFINE(StartTest, NoEventData)
794793
<ul>
795794
</ul>
796795

797-
# Star History
798-
799-
Find this repository useful? Consider giving it a star!
800-
801-
[![Star History Chart](https://api.star-history.com/svg?repos=endurodave/C_StateMachine&type=Date)](https://star-history.com/#endurodave/C_StateMachine&Date)
802-
803796
# Conclusion
804797

805798
<p>Implementing a state machine using this method as opposed to the old switch statement style may seem like extra effort. However, the payoff is in a more robust design that is capable of being employed uniformly over an entire multithreaded system. Having each state in its own function provides easier reading than a single huge <code>switch</code> statement, and allows unique event data to be sent to each state. In addition, validating state transitions prevents client misuse by eliminating the side effects caused by unwanted state transitions.</p>

0 commit comments

Comments
 (0)