Skip to content

Commit

Permalink
redundant since a vector is used
Browse files Browse the repository at this point in the history
  • Loading branch information
rednblkx committed Mar 6, 2024
1 parent 7151c0c commit 0a52591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ struct LockMechanism : Service::LockMechanism
false);
} // end constructor

boolean update(std::vector<char>* callback, int* callbackLen) {
boolean update(std::vector<char>* callback) {
int targetState = lockTargetState->getNewVal();
LOG(I, "New LockState=%d, Current LockState=%d", targetState, lockCurrentState->getVal());

Expand Down Expand Up @@ -321,7 +321,7 @@ struct NFCAccess : Service::NFCAccess, CommonCryptoUtils
return 1;
}

boolean update(std::vector<char>* callback, int* callbackLen) {
boolean update(std::vector<char>* callback) {
LOG(D, "PROVISIONED READER KEY: %s", utils::bufToHexString(readerData.reader_private_key, sizeof(readerData.reader_private_key)).c_str());
LOG(D, "READER GROUP IDENTIFIER: %s", utils::bufToHexString(readerData.reader_identifier, sizeof(readerData.reader_identifier)).c_str());
LOG(D, "READER UNIQUE IDENTIFIER: %s", utils::bufToHexString(readerData.identifier, sizeof(readerData.identifier)).c_str());
Expand Down

0 comments on commit 0a52591

Please sign in to comment.