yincheng.zhong
2024-06-25 d00fd80d6dfbc216136632765a8883827219cecd
Src/application/dw_mbx_tag.c
@@ -237,7 +237,7 @@
u8 seq_num;
extern u8 wg_lost_count;
uint16_t wg_report_freq,wg_report_id;
#define WG_LOST_SWITCH_THRES   3
#define WG_LOST_SWITCH_THRES   5
#define WG_LOST_NOUWB_COUNT    60
#define DEFAULT_WG_ID       0xFFFF
u8 lora_jianting_flag = 1;
@@ -397,6 +397,7 @@
    LED2_TB_OFF;
    LED2_TR_OFF;
}
extern uint8_t rec_secdelay;
u16 lora_send_count;
void Lora_Send_Poll(void)
{
@@ -405,6 +406,12 @@
        if(lora_send_count++%10==0||lora_jianting_flag)
        {
            Lora_send_flag=0;
            if(rec_secdelay>0)
            {
              //  loraled=YELLOW;
                rec_secdelay--;
                return;
            }
            LedTask();
            LoraReportPoll();
            LedOff_task();