APP 4
Dependencies: mbed CRC16 mbed-rtos
Diff: APP.cpp
- Revision:
- 16:cf433716f8d6
- Parent:
- 15:ed9511c3aac6
- Child:
- 18:493a5aa7e4ec
--- a/APP.cpp Mon Feb 22 18:11:37 2016 +0000 +++ b/APP.cpp Mon Feb 22 18:24:53 2016 +0000 @@ -17,6 +17,7 @@ bool readBuffer[2] = {false, false}; bool readBufferReady = false; MEF mef; +STATES mefSTATE; int benchmark(void (*function) (void)) { @@ -122,4 +123,10 @@ void _decodeError() { frameDropped = true; +} + + +void _updateState(STATES state) +{ + mefSTATE = state; } \ No newline at end of file