mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
reflect the original intent of the unused ignore_add parameter
This commit is contained in:
parent
5ede3a82df
commit
47aa7b4bb2
@ -129,7 +129,7 @@ static void powerdown(transceiver_type_t t);
|
||||
static void switch_to_rx(transceiver_type_t t);
|
||||
|
||||
#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)
|
||||
|
||||
@ -1008,9 +1008,9 @@ static void switch_to_rx(transceiver_type_t t)
|
||||
}
|
||||
|
||||
#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);
|
||||
|
||||
for (uint8_t i = 0; i < MAX_IGNORED_ADDR; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user