[build] detect undefined macros to avoid misconfigurations (#4300)

This commit is contained in:
Diego Ismirlian
2020-01-08 13:37:46 -03:00
committed by Jonathan Hui
parent 4fec70b67d
commit e44461151f
40 changed files with 218 additions and 40 deletions
+1 -1
View File
@@ -3561,7 +3561,7 @@ otError Interpreter::ProcessMacRetries(int argc, char *argv[])
otLinkSetMaxFrameRetriesDirect(mInstance, static_cast<uint8_t>(value));
}
}
#ifdef OPENTHREAD_FTD
#if OPENTHREAD_FTD
else if (strcmp(argv[0], "indirect") == 0)
{
if (argc == 1)