feat: 为通信帧解析完成回调函数添加帧信息入参(以便命令函数校验成功与否)

This commit is contained in:
bmy
2024-02-23 21:13:31 +08:00
parent 8a573170e0
commit 1c5c78976f
4 changed files with 34 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ typedef struct by_tf_parse_frame_t {
uint32_t data;
} by_tf_parse_frame_t;
typedef void (*by_tf_parse_done_handle_func)(uint8_t);
typedef void (*by_tf_parse_done_handle_func)(by_tf_parse_frame_t, uint8_t);
extern void by_tiny_frame_parse_init(void);
extern void by_tiny_frame_parse_uart_handle(uint8_t buff);