[config] mac (#4020)

This commit is contained in:
Jonathan Hui
2019-07-15 12:57:32 -07:00
parent 14fc1318db
commit 0baaf1afba
34 changed files with 323 additions and 302 deletions
+3 -3
View File
@@ -152,7 +152,7 @@ const struct Command Interpreter::sCommands[] = {
{"leaderpartitionid", &Interpreter::ProcessLeaderPartitionId},
{"leaderweight", &Interpreter::ProcessLeaderWeight},
#endif
#if OPENTHREAD_ENABLE_MAC_FILTER
#if OPENTHREAD_CONFIG_MAC_FILTER_ENABLE
{"macfilter", &Interpreter::ProcessMacFilter},
#endif
{"masterkey", &Interpreter::ProcessMasterKey},
@@ -3113,7 +3113,7 @@ exit:
}
#endif
#if OPENTHREAD_ENABLE_MAC_FILTER
#if OPENTHREAD_CONFIG_MAC_FILTER_ENABLE
void Interpreter::ProcessMacFilter(int argc, char *argv[])
{
otError error = OT_ERROR_NONE;
@@ -3404,7 +3404,7 @@ exit:
return error;
}
#endif // OPENTHREAD_ENABLE_MAC_FILTER
#endif // OPENTHREAD_CONFIG_MAC_FILTER_ENABLE
#if OPENTHREAD_CONFIG_DIAG_ENABLE
void Interpreter::ProcessDiag(int argc, char *argv[])