diff --git a/dev/cc2420/cc2420.c b/dev/cc2420/cc2420.c index e70b28c9b..62df891d9 100644 --- a/dev/cc2420/cc2420.c +++ b/dev/cc2420/cc2420.c @@ -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) {