mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-09 17:25:00 +00:00
Fixed compilation problems on the micaz and exp5438 platforms due to the node-id change
This commit is contained in:
@@ -67,6 +67,8 @@
|
||||
#define PRINTF(...)
|
||||
#endif
|
||||
|
||||
extern unsigned char node_mac[8];
|
||||
|
||||
//SENSORS(&button_sensor);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#ifndef RF_CHANNEL
|
||||
|
@@ -31,9 +31,10 @@
|
||||
* @(#)$$
|
||||
*/
|
||||
|
||||
#include "contiki-conf.h"
|
||||
#include "sys/node-id.h"
|
||||
|
||||
uint16_t node_id = 0;
|
||||
unsigned short node_id = 0;
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
@@ -50,7 +51,7 @@ node_id_restore(void)
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
node_id_burn(uint16_t id)
|
||||
node_id_burn(unsigned short id)
|
||||
{
|
||||
uint16_t buffer[2] = { 0xdead, id };
|
||||
uint8_t volatile sreg;
|
||||
|
Reference in New Issue
Block a user