init

Dependencies:   MPU6050 PinDetect circular_buffer

CaseFSM/PhoneUndetected.cpp

Committer:
OsmanKameric
Date:
2017-11-07
Revision:
0:b416214256cd

File content as of revision 0:b416214256cd:

#include <PhoneUndetected.h>
#include <DeviceEmpty.h>
#include <CaseEvents.h>
#include <CaseFsm.h>

PhoneUndetected::PhoneUndetected(CaseFsmStates& states, Timer& timer): CaseState(states,timer) {}

CaseState* PhoneUndetected::handle(SwitchPosition& event)
{

    printf("Odoh u DEVICE EMPTY STATE\r\n");
    return states_.deviceEmptyState();
}