如何查看rpl-ofc.c中的printf语句?

how to view printf statements in rpl-ofc.c?

如何在节点输出 window 中显示 rpl-of0.c 中的 printf 语句,就像我们在 rpl-icmp6.c 中看到 printf 语句一样?我试过 DEBUG_PRINTDEBUG_FULL 但无济于事。

DEBUG_NONE 更改为 DEBUG_PRINT

替换 #define DEBUG DEBUG_NONE#define DEBUG DEBUG_PRINT