[ncp-vendor-hook] fix example code to use new NcpBase method (#4405)

This commit is contained in:
Abtin Keshavarzian
2019-12-13 09:14:51 -08:00
committed by Jonathan Hui
parent 295ce1125e
commit 36ad76e53d
+1 -1
View File
@@ -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;