rpl: decrease default numbers
This commit is contained in:
parent
4ef889f9ce
commit
ce6b6b84fc
@ -36,14 +36,14 @@ extern "C" {
|
||||
* @brief Number of RPL instances
|
||||
*/
|
||||
#ifndef GNRC_RPL_INSTANCES_NUMOF
|
||||
#define GNRC_RPL_INSTANCES_NUMOF (2)
|
||||
#define GNRC_RPL_INSTANCES_NUMOF (1)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Number of RPL parents
|
||||
*/
|
||||
#ifndef GNRC_RPL_PARENTS_NUMOF
|
||||
#define GNRC_RPL_PARENTS_NUMOF (6)
|
||||
#define GNRC_RPL_PARENTS_NUMOF (3)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@ -159,14 +159,11 @@ int _gnrc_rpl_dodag_show(void)
|
||||
else {
|
||||
printf("[X]");
|
||||
}
|
||||
if (i < (GNRC_RPL_INSTANCES_NUMOF - 1)) {
|
||||
printf("\t");
|
||||
}
|
||||
else {
|
||||
printf("\n");
|
||||
}
|
||||
putchar('\t');
|
||||
}
|
||||
|
||||
putchar('\n');
|
||||
|
||||
printf("parent table:\t");
|
||||
for (uint8_t i = 0; i < GNRC_RPL_PARENTS_NUMOF; ++i) {
|
||||
if (gnrc_rpl_parents[i].state == 0) {
|
||||
@ -175,10 +172,8 @@ int _gnrc_rpl_dodag_show(void)
|
||||
else {
|
||||
printf("[X]");
|
||||
}
|
||||
if (i < (GNRC_RPL_PARENTS_NUMOF - 1)) {
|
||||
putchar('\t');
|
||||
}
|
||||
}
|
||||
putchar('\n');
|
||||
putchar('\n');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user