From f1fa0257c1cdbfb3e1fac53f0ca42a8a471d3782 Mon Sep 17 00:00:00 2001 From: ranchuan Date: Mon, 19 Jun 2023 18:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E9=99=A4python?= =?UTF-8?q?=E6=89=93=E5=8C=85=E6=96=87=E4=BB=B6=E7=9A=84=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 ++++- source/main/compiler_info.h | 2 +- source/task/tran_for_coder2.c | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 81a1c73..c9dd391 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,7 @@ JLinkSettings.ini build_log.txt __pycache__/ *.pid -*.pkt \ No newline at end of file +*.pkt +*.spec +python/build/ +python/dist/ \ No newline at end of file diff --git a/source/main/compiler_info.h b/source/main/compiler_info.h index 5342e5c..80ccb6e 100644 --- a/source/main/compiler_info.h +++ b/source/main/compiler_info.h @@ -6,7 +6,7 @@ -#define BUILD_DATE "2023-06-16 19:59:30" +#define BUILD_DATE "2023-06-19 09:41:22" #define SOFT_VERSION "0.01" diff --git a/source/task/tran_for_coder2.c b/source/task/tran_for_coder2.c index ff5705f..f2bdbb1 100644 --- a/source/task/tran_for_coder2.c +++ b/source/task/tran_for_coder2.c @@ -287,7 +287,8 @@ static void check_return_ok(void *p) for(int i=0;i<10;i++){ arr_append(a,i+slave_addr_off()); arr_append(a,0);// 成功 - arr_append_num(a,4,0); + arr_append(a,i+1);// 返回真是序号 + arr_append_num(a,3,0); } emit tran_send_signal(u->u.p,0x81,arr_temp(a)); tran_set_busy(u->u.p,0);