![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
commit
Dependencies: MPU6050_SIM5320_TEST
Fork of MPU_SDCARD by
CaseFSM/CaseState.cpp
- Committer:
- suads
- Date:
- 2017-11-10
- Revision:
- 1:75966605a6a3
File content as of revision 1:75966605a6a3:
#include <CaseFsm.h> #include <CaseState.h> CaseState::CaseState(CaseFsmStates& states,Timer& timer): states_(states),stateTimer_(timer){} CaseState* CaseState::handle(SwitchPosition& event) { return states_.currentState(); } CaseState* CaseState::handle(RFIDEvent& event) { return states_.currentState(); } CaseState* CaseState::handle(TimerEnd& event) { return states_.currentState(); }