pref: 更改通信帧接收完成回调函数格式

This commit is contained in:
bmy
2024-02-23 20:41:40 +08:00
parent a1c047f15a
commit 8a573170e0
3 changed files with 13 additions and 8 deletions

View File

@@ -35,9 +35,13 @@
#include "by_tiny_frame_pack.h"
/** 测试完成后移除 **/
void test(void)
void test(uint8_t status)
{
printf("hhhhhhok\r\n");
if (status) {
printf("noooooooo!\r\n");
} else {
printf("hhhhhhok\r\n");
}
}
int main(void)