Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Oct 24, 2024
1 parent 958b4b9 commit 4cdff9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/nuki_lock/nuki_lock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void NukiLockComponent::update_auth_data()
if(resultAuth == Nuki::CmdResult::Success) {

delay(5000);

std::list<NukiLock::AuthorizationEntry> authEntries;
this->nukiLock_.getAuthorizationEntries(&authEntries);

Expand All @@ -252,6 +252,7 @@ void NukiLockComponent::update_auth_data()
authEntries.resize(20);
}

std::list<Nuki::AuthorizationEntry>::iterator it = authEntries.begin();
while (it != authEntries.end()) {
log_d("Authorization entry[%d] type: %d name: %s", it->authId, it->idType, it->name);
it++;
Expand Down

0 comments on commit 4cdff9f

Please sign in to comment.