CC2420: Removed unused variables
This commit is contained in:
parent
1cb60b27de
commit
e3eb924f13
1 changed files with 0 additions and 5 deletions
|
@ -120,8 +120,6 @@ rtimer_clock_t cc2420_time_of_arrival, cc2420_time_of_departure;
|
|||
|
||||
int cc2420_authority_level_of_sender;
|
||||
|
||||
int cc2420_packets_seen, cc2420_packets_read;
|
||||
|
||||
volatile uint8_t cc2420_sfd_counter;
|
||||
volatile uint16_t cc2420_sfd_start_time;
|
||||
volatile uint16_t cc2420_sfd_end_time;
|
||||
|
@ -734,7 +732,6 @@ cc2420_interrupt(void)
|
|||
process_poll(&cc2420_process);
|
||||
|
||||
last_packet_timestamp = cc2420_sfd_start_time;
|
||||
cc2420_packets_seen++;
|
||||
return 1;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -774,8 +771,6 @@ cc2420_read(void *buf, unsigned short bufsize)
|
|||
|
||||
GET_LOCK();
|
||||
|
||||
cc2420_packets_read++;
|
||||
|
||||
getrxbyte(&len);
|
||||
|
||||
if(len > CC2420_MAX_PACKET_LEN) {
|
||||
|
|
Loading…
Reference in a new issue