![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
commit
Dependencies: MPU6050_SIM5320_TEST
Fork of MPU_SDCARD by
CaseFSM/PhoneDetected.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 <PhoneDetected.h> |
suads | 1:75966605a6a3 | 2 | #include <DeviceEmpty.h> |
suads | 1:75966605a6a3 | 3 | #include <CaseEvents.h> |
suads | 1:75966605a6a3 | 4 | #include <CaseFsm.h> |
suads | 1:75966605a6a3 | 5 | |
suads | 1:75966605a6a3 | 6 | PhoneDetected::PhoneDetected(CaseFsmStates& states, Timer& timer): CaseState(states,timer) |
suads | 1:75966605a6a3 | 7 | { |
suads | 1:75966605a6a3 | 8 | |
suads | 1:75966605a6a3 | 9 | |
suads | 1:75966605a6a3 | 10 | } |
suads | 1:75966605a6a3 | 11 | |
suads | 1:75966605a6a3 | 12 | CaseState* PhoneDetected::handle(SwitchPosition& event) |
suads | 1:75966605a6a3 | 13 | { |
suads | 1:75966605a6a3 | 14 | |
suads | 1:75966605a6a3 | 15 | printf("Odoh u DEVICE EMPTY STATE\r\n"); |
suads | 1:75966605a6a3 | 16 | return states_.deviceEmptyState(); |
suads | 1:75966605a6a3 | 17 | } |
suads | 1:75966605a6a3 | 18 | |
suads | 1:75966605a6a3 | 19 | |
suads | 1:75966605a6a3 | 20 |