eval-adf7xxxmb4z: declare node_id only when needed
This commit is contained in:
parent
45af3adab4
commit
2533265d30
|
@ -66,7 +66,9 @@ SENSORS(&button_sensor);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static uint8_t serial_id[] = SERIAL_ID;
|
static uint8_t serial_id[] = SERIAL_ID;
|
||||||
|
#if !NETSTACK_CONF_WITH_IPV6
|
||||||
static uint16_t node_id = 0x0102;
|
static uint16_t node_id = 0x0102;
|
||||||
|
#endif /* !NETSTACK_CONF_WITH_IPV6 */
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue