keil/uwb_tag_.c
@@ -368,6 +368,7 @@ return temp; } uint32_t count_index; int tt=1; int TagRange(void) { // The following peripherals will be initialized in the uwb_open function @@ -428,6 +429,7 @@ {end_receive_count-=UINT32_MAX;} current_count=phy_timer_count_get(); count_index=end_receive_count+HALF_SECOND_TIME; // if(tt){ while(current_count<end_receive_count||current_count>end_receive_count+HALF_SECOND_TIME)//循环接受包体,若为124.8K则是+62400000 { @@ -476,6 +478,7 @@ gpio_pin_set(IO_PIN_5);//测试 #endif } // } #ifdef BOXING gpio_pin_clr(IO_PIN_5);//测试 #endif