mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 15:47:46 +00:00
[cli] fix config check for "vendor" command (#9068)
The "vendor" command should be available on both FTD and MTD.
This commit is contained in:
@@ -3408,8 +3408,6 @@ Done
|
||||
|
||||
### vendor name
|
||||
|
||||
This command requires `OPENTHREAD_FTD` or `OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE`.
|
||||
|
||||
Get the vendor name.
|
||||
|
||||
```bash
|
||||
@@ -3427,8 +3425,6 @@ Done
|
||||
|
||||
### vendor model
|
||||
|
||||
This command requires `OPENTHREAD_FTD` or `OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE`.
|
||||
|
||||
Get the vendor model.
|
||||
|
||||
```bash
|
||||
@@ -3446,8 +3442,6 @@ Done
|
||||
|
||||
### vendor swversion
|
||||
|
||||
This command requires `OPENTHREAD_FTD` or `OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE`.
|
||||
|
||||
Get the vendor SW version.
|
||||
|
||||
```bash
|
||||
|
||||
@@ -8742,9 +8742,7 @@ otError Interpreter::ProcessCommand(Arg aArgs[])
|
||||
#if OPENTHREAD_CONFIG_UPTIME_ENABLE
|
||||
CmdEntry("uptime"),
|
||||
#endif
|
||||
#if OPENTHREAD_FTD || OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE
|
||||
CmdEntry("vendor"),
|
||||
#endif
|
||||
#endif // OPENTHREAD_FTD || OPENTHREAD_MTD
|
||||
CmdEntry("version"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user