diff --git a/drivers/at86rf231/at86rf231.c b/drivers/at86rf231/at86rf231.c index 32bb3edf33..6207ca6b48 100644 --- a/drivers/at86rf231/at86rf231.c +++ b/drivers/at86rf231/at86rf231.c @@ -16,8 +16,6 @@ static uint8_t radio_channel; static uint16_t radio_address; static uint64_t radio_address_long; -int transceiver_pid; - void at86rf231_init(int tpid) { transceiver_pid = tpid; diff --git a/drivers/include/at86rf231.h b/drivers/include/at86rf231.h index ee01c47778..65ef56374a 100644 --- a/drivers/include/at86rf231.h +++ b/drivers/include/at86rf231.h @@ -30,6 +30,7 @@ typedef struct __attribute__((packed)) } at86rf231_packet_t; +extern int transceiver_pid; void at86rf231_init(int tpid); //void at86rf231_reset(void);