eval-adf7xxxmb4z: declare node_id only when needed

This commit is contained in:
Simon Duquennoy 2015-10-01 15:39:26 +02:00
parent 45af3adab4
commit 2533265d30

View file

@ -66,7 +66,9 @@ SENSORS(&button_sensor);
#endif
static uint8_t serial_id[] = SERIAL_ID;
#if !NETSTACK_CONF_WITH_IPV6
static uint16_t node_id = 0x0102;
#endif /* !NETSTACK_CONF_WITH_IPV6 */
/*---------------------------------------------------------------------------*/
static void