From 2bfdd1fed0e4421500370403d9552debd8d74fc0 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Tue, 27 Aug 2013 00:00:55 +0200 Subject: [PATCH] added missing initialization for cc2420 abort counter --- drivers/cc2420/cc2420_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cc2420/cc2420_tx.c b/drivers/cc2420/cc2420_tx.c index 17290804c5..4753abd7f2 100644 --- a/drivers/cc2420/cc2420_tx.c +++ b/drivers/cc2420/cc2420_tx.c @@ -25,7 +25,7 @@ static uint8_t sequenz_nr; int16_t cc2420_send(cc2420_packet_t *packet) { - volatile uint32_t abort_count; + volatile uint32_t abort_count = 0; /* Set missing frame information */ packet->frame.fcf.frame_ver = 0;