[configure] replace --with-platform-info using project config (#2077)

This commit is contained in:
Jonathan Hui
2017-08-08 22:10:07 -07:00
committed by GitHub
parent 35848351b5
commit 5ecab16f86
24 changed files with 155 additions and 91 deletions
+1 -1
View File
@@ -2800,7 +2800,7 @@ void Interpreter::ProcessJoiner(int argc, char *argv[])
VerifyOrExit(argc > 1, error = OT_ERROR_PARSE);
provisioningUrl = (argc > 2) ? argv[2] : NULL;
otJoinerStart(mInstance, argv[1], provisioningUrl,
PACKAGE_NAME, PLATFORM_INFO, PACKAGE_VERSION, NULL,
PACKAGE_NAME, OPENTHREAD_CONFIG_PLATFORM_INFO, PACKAGE_VERSION, NULL,
&Interpreter::s_HandleJoinerCallback, this);
}
else if (strcmp(argv[0], "stop") == 0)