mirror of
https://github.com/SemvdH/OBD2-car-display.git
synced 2025-12-16 12:41:05 +00:00
add start of state machine
This commit is contained in:
19
due_obd2/statemachine.c
Normal file
19
due_obd2/statemachine.c
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "statemachine.h"
|
||||
|
||||
state_t none_state =
|
||||
{
|
||||
.id = 0,
|
||||
.on_enter = &__state_none,
|
||||
.on_run = &__state_none,
|
||||
.on_exit = &__state_none,
|
||||
|
||||
}
|
||||
statemachine_t statemachine =
|
||||
{
|
||||
.current_state =
|
||||
};
|
||||
|
||||
void statemachine_init()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user