Skip to content

Commit

Permalink
cppcheck: use const
Browse files Browse the repository at this point in the history
  • Loading branch information
tueddy committed Jun 9, 2024
1 parent eda0e21 commit 3ab1066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RfidPn5180.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void Rfid_Task(void *parameter) {
//
// default factory password for ICODE-SLIX2 is {0x0F, 0x0F, 0x0F, 0x0F}
//
uint8_t password[] = {0x0F, 0x0F, 0x0F, 0x0F};
const uint8_t password[] = {0x0F, 0x0F, 0x0F, 0x0F};
ISO15693ErrorCode myrc = nfc15693.disablePrivacyMode(password);
if (ISO15693_EC_OK == myrc) {
if (showDisablePrivacyNotification) {
Expand Down

0 comments on commit 3ab1066

Please sign in to comment.