digint / digint/tinyfsm

Is it possible to set initial state (at runtime) to something which is different from what was passed in FSM_INITIAL_STATE?

Open
#34 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
1.2k
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Is it possible to change the initial_state at runtime?

I am storing the the states of my machine in the database and at restart, I would like to start from the last known stored state. Is it possible to set the FSM_initial_state at runtime, without using the transit function?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.