mirror of
https://github.com/espressif/openthread.git
synced 2026-10-02 05:47:40 +00:00
[factory-diags] fix usage of OPENTHREAD_RADIO (#9736)
This commit is contained in:
@@ -846,7 +846,7 @@ Error Diags::ProcessCmd(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_
|
|||||||
|
|
||||||
// This `rcp` command is for debugging and testing only, building only when NDEBUG is not defined
|
// This `rcp` command is for debugging and testing only, building only when NDEBUG is not defined
|
||||||
// so that it will be excluded from release build.
|
// so that it will be excluded from release build.
|
||||||
#if !defined(NDEBUG) && defined(OPENTHREAD_RADIO)
|
#if OPENTHREAD_RADIO && !defined(NDEBUG)
|
||||||
if (aArgsLength > 0 && !strcmp(aArgs[0], "rcp"))
|
if (aArgsLength > 0 && !strcmp(aArgs[0], "rcp"))
|
||||||
{
|
{
|
||||||
aArgs++;
|
aArgs++;
|
||||||
|
|||||||
Reference in New Issue
Block a user