From 66904fbabbfb92fc8e005c25be2522f0ab4f461c Mon Sep 17 00:00:00 2001
From: Oleg Hahm <oleg@hobbykeller.org>
Date: Wed, 17 Sep 2014 15:21:15 +0200
Subject: [PATCH] drivers: fixed German influenced typo

---
 drivers/at86rf231/at86rf231_tx.c |  6 +++---
 drivers/cc2420/cc2420_tx.c       | 10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/at86rf231/at86rf231_tx.c b/drivers/at86rf231/at86rf231_tx.c
index 6976e8dcae..8f70720937 100644
--- a/drivers/at86rf231/at86rf231_tx.c
+++ b/drivers/at86rf231/at86rf231_tx.c
@@ -17,7 +17,7 @@ static void at86rf231_xmit(uint8_t *data, radio_packet_length_t length);
 
 static void at86rf231_gen_pkt(uint8_t *buf, at86rf231_packet_t *packet);
 
-static uint8_t sequenz_nr;
+static uint8_t sequence_nr;
 
 int16_t at86rf231_send(at86rf231_packet_t *packet)
 {
@@ -47,9 +47,9 @@ int16_t at86rf231_send(at86rf231_packet_t *packet)
     }
 
     packet->frame.src_pan_id = at86rf231_get_pan();
-    packet->frame.seq_nr = sequenz_nr;
+    packet->frame.seq_nr = sequence_nr;
 
-    sequenz_nr += 1;
+    sequence_nr += 1;
 
     // calculate size of the frame (payload + FCS) */
     packet->length = ieee802154_frame_get_hdr_len(&packet->frame) +
diff --git a/drivers/cc2420/cc2420_tx.c b/drivers/cc2420/cc2420_tx.c
index 0a5514bda6..e55cb3a1cc 100644
--- a/drivers/cc2420/cc2420_tx.c
+++ b/drivers/cc2420/cc2420_tx.c
@@ -22,7 +22,7 @@
 #include "debug.h"
 
 static void cc2420_gen_pkt(uint8_t *buf, cc2420_packet_t *packet);
-static uint8_t sequenz_nr;
+static uint8_t sequence_nr;
 static bool wait_for_ack;
 
 radio_tx_status_t cc2420_load_tx_buf(ieee802154_packet_kind_t kind,
@@ -71,7 +71,7 @@ radio_tx_status_t cc2420_load_tx_buf(ieee802154_packet_kind_t kind,
     }
 
     /* sequence number */
-    hdr[2] = sequenz_nr++;
+    hdr[2] = sequence_nr++;
 
     /* variable-length fields */
     int idx = 3;
@@ -190,7 +190,7 @@ radio_tx_status_t cc2420_transmit_tx_buf(void)
         /* a packet has arrived, read the arrived data */
         cc2420_read_fifo(ackbuf, ACK_LENGTH);
         if (ackbuf[0] == 0x02  /* ack packet in buffer */
-             && (ackbuf[2] == sequenz_nr - 1)) /* correct sequence number */
+             && (ackbuf[2] == sequence_nr - 1)) /* correct sequence number */
             return RADIO_TX_OK;
     }
     return RADIO_TX_NOACK;
@@ -243,9 +243,9 @@ int16_t cc2420_send(cc2420_packet_t *packet)
     }
 
     packet->frame.src_pan_id = cc2420_get_pan();
-    packet->frame.seq_nr = sequenz_nr;
+    packet->frame.seq_nr = sequence_nr;
 
-    sequenz_nr += 1;
+    sequence_nr += 1;
 
     /* calculate size of the package (header + payload + fcs) */
     packet->length = ieee802154_frame_get_hdr_len(&packet->frame) +
-- 
GitLab