mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-10 08:25:23 +00:00
The RPL_PARENT_COUNT() macro doesn't exist anymore - use the uip_ds6_nbr_num() function instead
This commit is contained in:
@@ -142,7 +142,7 @@ collect_common_send(void)
|
||||
}
|
||||
rtmetric = dag->rank;
|
||||
beacon_interval = (uint16_t) ((2L << dag->instance->dio_intcurrent) / 1000);
|
||||
num_neighbors = RPL_PARENT_COUNT(dag);
|
||||
num_neighbors = uip_ds6_nbr_num();
|
||||
} else {
|
||||
rtmetric = 0;
|
||||
beacon_interval = 0;
|
||||
|
Reference in New Issue
Block a user