| | |
| | | NEARPOLL, |
| | | }tag_state=NEARPOLL; |
| | | static dwt_config_t config = { |
| | | 5, /* Channel number. */ |
| | | 2, /* Channel number. */ |
| | | DWT_PRF_64M, /* Pulse repetition frequency. */ |
| | | DWT_PLEN_128, /* Preamble length. */ |
| | | DWT_PAC8, /* Preamble acquisition chunk size. Used in RX only. */ |
| | |
| | | nearbase_num=recbase_num; |
| | | // tyncpoll_time=0; |
| | | next_nearbase_num=0; |
| | | j = 0; |
| | | for(i=0;i<last_nearbase_num+get_newbase;i++) |
| | | { |
| | | if(exsistbase_list[i]>0) |
| | |
| | | //GPIO_WriteBit(EU_TX_GPIO, EU_RX_PIN, Bit_RESET); |
| | | break; |
| | | } |
| | | bat_percent=Get_VDDVlotage(); |
| | | dwt_entersleep(); |
| | | bat_percent=Get_VDDVlotage(); |
| | | } |