Add RADIOSTATS

This commit is contained in:
dak664 2010-02-12 18:00:30 +00:00
parent dd4bf06430
commit 8603f0f0f6

View file

@ -36,7 +36,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
* *
* $Id: radio.c,v 1.4 2010/02/12 16:41:02 dak664 Exp $ * $Id: radio.c,v 1.5 2010/02/12 18:00:30 dak664 Exp $
*/ */
/** /**
@ -258,7 +258,7 @@ radio_trx_end_event(uint32_t const isr_timestamp)
if (rx_mode){ if (rx_mode){
/* radio has received frame, store it away */ /* radio has received frame, store it away */
#if RADIOSTATS #if RADIOSTATS
RF230_rssi=rssi_val; RF230_rsigsi=rssi_val;
RF230_receivepackets++; RF230_receivepackets++;
#endif #endif
parsed_frame.time = isr_timestamp; parsed_frame.time = isr_timestamp;