| | |
| | | { |
| | | g_com_map[COM_INTERVAL]=100; |
| | | } |
| | | g_com_map[VERSION] = 0x0130; |
| | | g_com_map[VERSION] = 0x0132; |
| | | g_com_map[SW_TYPE] = SW_FANGZHUANG; |
| | | dev_id = g_com_map[DEV_ID]; |
| | | slottime=ceil((double)g_com_map[MAX_REPORT_ANC_NUM]*SLOT_SCALE)+3; |
| | |
| | | } |
| | | if(flag_newsecond) |
| | | { |
| | | uint32_t temp23; |
| | | temp23 = dwt_read32bitreg(CHAN_CTRL_ID) ; |
| | | if(temp23!=0x4A480022) |
| | | { |
| | | temp23 = dwt_read32bitreg(CHAN_CTRL_ID) ; |
| | | if(temp23!=0x4A480022) |
| | | { |
| | | NVIC_SystemReset(); |
| | | } |
| | | } |
| | | // uint32_t temp23; |
| | | // temp23 = dwt_read32bitreg(CHAN_CTRL_ID) ; |
| | | // if(temp23!=0x4A480022) |
| | | // { |
| | | // temp23 = dwt_read32bitreg(CHAN_CTRL_ID) ; |
| | | // if(temp23!=0x4A480022) |
| | | // { |
| | | // NVIC_SystemReset(); |
| | | // } |
| | | // } |
| | | flag_newsecond=0; |
| | | tagpos_binary=0; |
| | | memcpy(ancidlist_send,ancidlist_rec,ancidlist_num*2); |