添加错误代码

This commit is contained in:
ranchuan
2023-06-28 18:08:38 +08:00
parent c2b79fe523
commit 28889fa479
21 changed files with 2299 additions and 99 deletions

View File

@@ -5,6 +5,18 @@
#include "handle.h"
#include "signal.h"
// 错误码定义
#define TRAN_ERR_NONE 0x00
#define TRAN_ERR_BUSY 0x01
#define TRAN_ERR_PARAM 0x02
#define TRAN_ERR_STEP 0x03
struct _tran_def;
typedef struct _tran_def tran_def;