mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 15:20:07 +00:00
[diag] clear output in case no output given (#5465)
The stop command doesn't write anything to the output buffer.
This commit is contained in:
@@ -535,7 +535,7 @@ exit:
|
||||
switch (error)
|
||||
{
|
||||
case OT_ERROR_NONE:
|
||||
|
||||
aOutput[0] = '\0'; // In case there is no output.
|
||||
IgnoreError(ProcessCmd(argCount, &aArgsector[0], aOutput, aOutputMaxLen));
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user