fix made transceiver_pid extern for cc2420

This commit is contained in:
Martin 2014-02-07 13:47:46 +01:00
parent 7ccf0e0858
commit 742b49eb47
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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.
* *