Skip to content

Commit

Permalink
[utils] add mNcp to VendorServer
Browse files Browse the repository at this point in the history
  • Loading branch information
wgtdkp committed Aug 2, 2023
1 parent 1738d8c commit e78df53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/agent/vendor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ class VendorServer
* @param[in] aNcp A reference to the NCP controller.
*
*/
VendorServer(otbr::Ncp::ControllerOpenThread &aNcp);
VendorServer(otbr::Ncp::ControllerOpenThread &aNcp)
: mNcp(aNcp) {}

/**
* This method initializes the vendor server.
*
*/
void Init(void);

private:
otbr::Ncp::ControllerOpenThread &mNcp;
};
} // namespace vendor
} // namespace otbr
Expand Down

0 comments on commit e78df53

Please sign in to comment.