st24: move decode state to header file

This commit is contained in:
Martina
2017-10-10 09:06:09 +02:00
committed by ChristophTobler
parent 5278791f3d
commit a7956c401b
-9
View File
@@ -44,15 +44,6 @@
#include "st24.h"
#include "common_rc.h"
enum ST24_DECODE_STATE {
ST24_DECODE_STATE_UNSYNCED = 0,
ST24_DECODE_STATE_GOT_STX1,
ST24_DECODE_STATE_GOT_STX2,
ST24_DECODE_STATE_GOT_LEN,
ST24_DECODE_STATE_GOT_TYPE,
ST24_DECODE_STATE_GOT_DATA
};
const char *decode_states[] = {"UNSYNCED",
"GOT_STX1",
"GOT_STX2",