| | |
| | | { |
| | | g_com_map[COM_INTERVAL]=100; |
| | | } |
| | | <<<<<<< HEAD |
| | | g_com_map[VERSION] = 0x012a; |
| | | ======= |
| | | g_com_map[VERSION] = 0x0127; |
| | | >>>>>>> parent of 47d2701 (V1.41 è´æ°ä¸è¾åº ä¿®æ¹åå¤485æ æ¾ç¤ºBUG) |
| | | 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); |