ws server +proto
This commit is contained in:
20
inc/state.h
Normal file
20
inc/state.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __EMUL_STATE_H__
|
||||
#define __EMUL_STATE_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define EMUL_STATE_STILL 0
|
||||
#define EMUL_STATE_EXEC 1
|
||||
#define EMUL_STATE_PAUSE 2
|
||||
#define EMUL_STATE_STOP 3
|
||||
|
||||
#define EMUL_STATE_OP_START 1
|
||||
#define EMUL_STATE_OP_PAUSE 2
|
||||
#define EMUL_STATE_OP_RESUME 3
|
||||
#define EMUL_STATE_OP_RESET 4
|
||||
#define EMUL_STATE_OP_STOP 5
|
||||
|
||||
|
||||
uint8_t switchNewEmulState(const uint8_t currentState, const uint8_t controlOp);
|
||||
|
||||
#endif //ifndef __EMUL_STATE_H__
|
||||
Reference in New Issue
Block a user