[config] channel monitor (#4020)

This commit is contained in:
Jonathan Hui
2019-07-12 15:21:49 -07:00
parent 1021946d6d
commit 01ebc18f97
24 changed files with 137 additions and 115 deletions
+2 -2
View File
@@ -72,7 +72,7 @@
#include <openthread/channel_manager.h>
#endif
#if OPENTHREAD_ENABLE_CHANNEL_MONITOR
#if OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE
#include <openthread/channel_monitor.h>
#endif
@@ -447,7 +447,7 @@ void Interpreter::ProcessChannel(int argc, char *argv[])
{
mServer->OutputFormat("%d\r\n", otLinkGetChannel(mInstance));
}
#if OPENTHREAD_ENABLE_CHANNEL_MONITOR
#if OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE
else if (strcmp(argv[0], "monitor") == 0)
{
if (argc == 1)