Ver código fonte

2024.07.24
修改抬枪信号干扰的情况,不产生记录

Signed-off-by: gaochunhui <gaochunhui@cpyypt.cn>

gaochunhui 1 ano atrás
pai
commit
7c1610e16c
3 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      App/public.h
  2. 1 1
      App/xspDataOpt.c
  3. 1 1
      Project/XspBoardPro.uvprojx

+ 1 - 1
App/public.h

@@ -7,7 +7,7 @@
 extern uint8_t g_bhavePrice;
 
 #define DEV_TYPE 0x0904
-#define APP_VERSION 0x0904302E
+#define APP_VERSION 0x0904302F
 
 
 #define BROADCAST_SN   0xFFFFFFFF // ¹ã²¥µØÖ·

+ 1 - 1
App/xspDataOpt.c

@@ -680,7 +680,7 @@ void check_gun_status_to_save_record(void)
             else if((g_xspCollDa.gunDnTime >= g_xspCollDa.gunUpTime)){
                 if(g_xspCollDa.gunDnTime-g_xspCollDa.gunUpTime<1000) {
                     printf("¸ÉÈŲúÉúµÄ̧ǹÐźÅ\n");
-                    g_gunStatus[0].bsave = 0;
+                    //g_gunStatus[0].bsave = 0;
                     gunstatus = g_gunStatus[0].curst;
                     return;
                 }

+ 1 - 1
Project/XspBoardPro.uvprojx

@@ -83,7 +83,7 @@
             <RunUserProg1>1</RunUserProg1>
             <RunUserProg2>1</RunUserProg2>
             <UserProg1Name>fromelf --bin !L --output app.bin</UserProg1Name>
-            <UserProg2Name>wbjw_bin.exe -a 08018000 -d 0904 -f 3 -v 02E -r .\app.bin</UserProg2Name>
+            <UserProg2Name>wbjw_bin.exe -a 08018000 -d 0904 -f 3 -v 02F -r .\app.bin</UserProg2Name>
             <UserProg1Dos16Mode>0</UserProg1Dos16Mode>
             <UserProg2Dos16Mode>0</UserProg2Dos16Mode>
             <nStopA1X>0</nStopA1X>