| | |
| | | second_count = 0; |
| | | MinuteTask(); |
| | | } |
| | | poll_flag=1; |
| | | |
| | | // if(bind_flag) |
| | | // { |
| | | // if(bind_count--<=0) |
| | |
| | | |
| | | } |
| | | // } |
| | | HIDO_TimerTick(); |
| | | HIDO_TimerTick(); |
| | | if(nomove_count<=g_com_map[NOMOVESLEEP_TIME])//防止溢出 |
| | | nomove_count++; |
| | | else{ |
| | |
| | | |
| | | static void sleep_timer_callback(void *dev, uint32_t time) |
| | | { |
| | | poll_flag=1; |
| | | |
| | | if(secondtask_count++%2==0) |
| | | { |
| | |
| | | int tt2; |
| | | int test1,test3; |
| | | uint32_t test4; |
| | | #define SLEEP_TIMER_NUM 1000 |
| | | //uint16_t count_tag; |
| | | #define SLEEP_TIMER_NUM 500 |
| | | int main(void) |
| | | { |
| | | board_clock_run(); |
| | |
| | | uwb_app_poll(); |
| | | if(poll_flag) |
| | | { |
| | | // count_tag++; |
| | | CloseUWB();//关闭接收 |
| | | Tag_uwb_aoa_square_init(); |
| | | TagRange(); //做标签 |