WXK
2024-03-25 578cdb830c456877b4d7539cab72c4f97fea016b
Src/application/dw_mbx_tag.c
@@ -295,15 +295,6 @@
extern float Height;
void LoraReportPoll(void)
{
   // delay_ms(100);
//#ifdef _USE_BAR
//    GetPressAndHeight();
//    intheight = Height*100;
//#endif
//    #ifdef _SMT_TEST
//    printf("气压值:%d",intheight);
//    #endif
//    printf("LORA发送\r\n");
    if(sendcount++>0)
    TagListUpdate();
    
@@ -365,14 +356,8 @@
    checksum = Checksum_u16(lora_sendbuffer,4*report_ancnum+ANCID_IDX);
    memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum*4],&checksum,2);
    Radio.Send(lora_sendbuffer,ANCID_IDX+report_ancnum*4+2);
//delay_ms(100);
//    LED_TB_ON;
//    bat_percent=Get_Battary();
//    #ifdef _USE_BAR_
// //if(taglist_total_num>0)
// {
    GetPressAndHeight();
    intheight = Height*100;
// }
//#endif
//    GetPressAndHeight();
//    intheight = Height*100;
}