making error codes available

This commit is contained in:
rusefi 2020-10-01 00:03:54 -04:00
parent 0d48942551
commit f8d5463064
2 changed files with 6 additions and 6 deletions

View File

@ -17,12 +17,6 @@
#include "pin_repository.h"
#endif
#define TS_RESPONSE_UNDERRUN 0x80
#define TS_RESPONSE_CRC_FAILURE 0x82
#define TS_RESPONSE_UNRECOGNIZED_COMMAND 0x83
#define TS_RESPONSE_OUT_OF_RANGE 0x84
#define TS_RESPONSE_FRAMING_ERROR 0x8D
typedef enum {
TS_PLAIN = 0,
TS_CRC = 1

View File

@ -1676,6 +1676,12 @@ end_struct
#define PROTOCOL_MSG "msg"
#define PROTOCOL_HELLO_PREFIX "***"
#define TS_RESPONSE_UNDERRUN 0x80
#define TS_RESPONSE_CRC_FAILURE 0x82
#define TS_RESPONSE_UNRECOGNIZED_COMMAND 0x83
#define TS_RESPONSE_OUT_OF_RANGE 0x84
#define TS_RESPONSE_FRAMING_ERROR 0x8D
#define MLQ_HEADER_SIZE 22
#define MLQ_FIELD_HEADER_SIZE 55