Skip to content
Snippets Groups Projects
Commit 47aa7b4b authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

reflect the original intent of the unused ignore_add parameter

parent 5ede3a82
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ static void powerdown(transceiver_type_t t); ...@@ -129,7 +129,7 @@ static void powerdown(transceiver_type_t t);
static void switch_to_rx(transceiver_type_t t); static void switch_to_rx(transceiver_type_t t);
#ifdef DBG_IGNORE #ifdef DBG_IGNORE
static int16_t ignore_add(transceiver_type_t t, void *address); static int16_t ignore_add(transceiver_type_t transceiver, void *address);
#define MAX_IGNORED_ADDR (10) #define MAX_IGNORED_ADDR (10)
...@@ -1008,9 +1008,9 @@ static void switch_to_rx(transceiver_type_t t) ...@@ -1008,9 +1008,9 @@ static void switch_to_rx(transceiver_type_t t)
} }
#ifdef DBG_IGNORE #ifdef DBG_IGNORE
static int16_t ignore_add(transceiver_type_t unused, void *address) static int16_t ignore_add(transceiver_type_t transceiver, void *address)
{ {
(void) unused; (void) transceiver;
radio_address_t addr = *((radio_address_t *)address); radio_address_t addr = *((radio_address_t *)address);
for (uint8_t i = 0; i < MAX_IGNORED_ADDR; i++) { for (uint8_t i = 0; i < MAX_IGNORED_ADDR; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment