mirror of
https://github.com/espressif/openthread.git
synced 2026-08-19 17:09:51 +00:00
[ncp-vendor-hook] fix example code to use new NcpBase method (#4405)
This commit is contained in:
committed by
Jonathan Hui
parent
295ce1125e
commit
36ad76e53d
@@ -47,7 +47,7 @@ otError NcpBase::VendorCommandHandler(uint8_t aHeader, unsigned int aCommand)
|
||||
// TODO: Implement your command handlers here.
|
||||
|
||||
default:
|
||||
error = SendLastStatus(aHeader, SPINEL_STATUS_INVALID_COMMAND);
|
||||
error = PrepareLastStatusResponse(aHeader, SPINEL_STATUS_INVALID_COMMAND);
|
||||
}
|
||||
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user