commit_cell_locker

Dependencies:   MPU6050_SIM5320_TEST

Fork of KOPIRANO_cell_locker by Suad Suljic

MotionFSM/State.cpp

Committer:
suads
Date:
2017-11-13
Revision:
2:aabc92901e25
Parent:
1:75966605a6a3

File content as of revision 2:aabc92901e25:

#include <Fsm.h>
#include <State.h>

State::State(FsmStates& states,Timer& timer): states_(states),stateTimer_(timer){}

State* State::handle(Stop& event) { return states_.currentState(); }
State* State::handle(Move& event) { return states_.currentState(); }