yincheng.zhong
2024-03-07 11e279420324ddd19266d58be21d1abdfc927ea7
Src/application/dw_app.c
@@ -285,7 +285,7 @@
//          target_count = GetLoraSyncCount()-(18000)/LPTIMER_LSB+sync_lost_count*1000;
//      }else
      {
        target_count = GetLoraSyncCount()-(18000)/LPTIMER_LSB;  //比上次收到的lora提前17ms唤醒(lora接收大概17ms),如果在同步间隔内,则会快速进入休眠。
        target_count = GetLoraSyncCount()-(23000)/LPTIMER_LSB;  //比上次收到的lora提前17ms唤醒(lora接收大概17ms),如果在同步间隔内,则会快速进入休眠。
      }
      if(target_count<0)
      target_count+=32768;