mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 17:50:09 +00:00
[cli] change 'argc' -> 'aArgsLength', 'argv' -> 'aArgs' (#4718)
This commit is contained in:
@@ -425,14 +425,14 @@ exit:
|
||||
// Diag
|
||||
//
|
||||
|
||||
void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOutput, size_t aOutputMaxLen)
|
||||
void otPlatDiagProcess(otInstance *aInstance, int aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
OT_UNUSED_VARIABLE(aArgsLength);
|
||||
OT_UNUSED_VARIABLE(aOutputMaxLen);
|
||||
|
||||
// no more diagnostics features for Posix platform
|
||||
sprintf(aOutput, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
sprintf(aOutput, "diag feature '%s' is not supported\r\n", aArgs[0]);
|
||||
}
|
||||
|
||||
void otPlatDiagModeSet(bool aMode)
|
||||
|
||||
Reference in New Issue
Block a user