fix made transceiver_pid extern for cc2420
This commit is contained in:
parent
7ccf0e0858
commit
742b49eb47
@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
/* Radio driver API */
|
/* Radio driver API */
|
||||||
|
|
||||||
int transceiver_pid;
|
|
||||||
|
|
||||||
void cc2420_init(int tpid)
|
void cc2420_init(int tpid)
|
||||||
{
|
{
|
||||||
uint16_t reg;
|
uint16_t reg;
|
||||||
|
|||||||
@ -102,6 +102,8 @@ typedef struct __attribute__ ((packed)) {
|
|||||||
/* @} */
|
/* @} */
|
||||||
} cc2420_packet_t;
|
} cc2420_packet_t;
|
||||||
|
|
||||||
|
extern int transceiver_pid;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Init the cc2420.
|
* @brief Init the cc2420.
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user