![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
commit
Dependencies: MPU6050_SIM5320_TEST
Fork of MPU_SDCARD by
MotionFSM/State.cpp@1:75966605a6a3, 2017-11-10 (annotated)
- Committer:
- suads
- Date:
- Fri Nov 10 15:35:26 2017 +0000
- Revision:
- 1:75966605a6a3
mbed cli
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
suads | 1:75966605a6a3 | 1 | #include <Fsm.h> |
suads | 1:75966605a6a3 | 2 | #include <State.h> |
suads | 1:75966605a6a3 | 3 | |
suads | 1:75966605a6a3 | 4 | State::State(FsmStates& states,Timer& timer): states_(states),stateTimer_(timer){} |
suads | 1:75966605a6a3 | 5 | |
suads | 1:75966605a6a3 | 6 | State* State::handle(Stop& event) { return states_.currentState(); } |
suads | 1:75966605a6a3 | 7 | State* State::handle(Move& event) { return states_.currentState(); } |
suads | 1:75966605a6a3 | 8 | |
suads | 1:75966605a6a3 | 9 |