Skip to content

Commit

Permalink
Add missing function to set delegate in Door Lock Server (project-chi…
Browse files Browse the repository at this point in the history
…p#31846)

* Add missing function to set delegate in Door Lock Server

* Restyled by clang-format (project-chip#31847)

Co-authored-by: Restyled.io <[email protected]>

---------

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2024
1 parent db067cb commit cc56f66
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/app/clusters/door-lock-server/door-lock-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ struct EmberAfDoorLockEndpointContext
int wrongCodeEntryAttempts;
};

namespace chip {
namespace app {
namespace Clusters {
namespace DoorLock {

void SetDefaultDelegate(EndpointId endpoint, Delegate * delegate);

} // namespace DoorLock
} // namespace Clusters
} // namespace app
} // namespace chip

/**
* @brief Door Lock Server Plugin class.
*/
Expand Down

0 comments on commit cc56f66

Please sign in to comment.