| | |
| | | // rxnum=0; |
| | | } |
| | | extern uint32_t step_count; |
| | | extern uint8_t uwb_OpenClose_flag; |
| | | void UWBIdleTask(void) |
| | | { |
| | | // if(receive_flag) |
| | |
| | | step_count = mir3da_get_step(); // 获取步数 |
| | | uwbtasktimer = HIDO_TimerGetTick(); |
| | | UWBOneSecondTask(); |
| | | if(g_com_map[UWBFrequency]==1) |
| | | if(g_com_map[UWBFrequency]==1&&uwb_OpenClose_flag==1) |
| | | { |
| | | UWBSendUDPTask(); |
| | | } |
| | |
| | | extern uint8_t uwb_offtime_count; |
| | | int Anchor_App(void) |
| | | { |
| | | uint8_t i; |
| | | uint16_t tempid; |
| | | uwb_offtime_count=0; |
| | | uint8_t i; |
| | | uint16_t tempid; |
| | | uwb_offtime_count=0; |
| | | #ifdef CEJU_ZIUMIAN |
| | | current_state = STATE_NORMAL; |
| | | #endif |