From 26a3a95b25f10e92061d1cf1ef2b46503134718e Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 01 十二月 2019 19:02:52 +0800 Subject: [PATCH] 40米不该、 软件修改 --- 源码/核心板/Src/stm32f10x_it.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" index c1e9ce1..0988ab8 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" @@ -63,6 +63,15 @@ { tag_recv_timer++; TagDistClear(); + if(g_com_map[ANC_POLL]) + { + if((sync_timer-10)%g_com_map[COM_INTERVAL]==tyncpoll_time&&sync_timer>=10&&sync_timer!=1010) + { + g_start_send_flag=1; + } + } + // if(g_com_map[ALARM_DEV]!=0) + main_logic(); if(sync_timer==10) { GPIO_WriteBit(GPIOA, GPIO_Pin_9, Bit_SET); -- Gitblit v1.9.3