mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +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
|
||||
// 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"))
|
||||
{
|
||||
aArgs++;
|
||||
|
||||
Reference in New Issue
Block a user