cppcheck fixes const

This commit is contained in:
iceman1001 committed 2022-01-07 19:31:19 +01:00
1 parent 2bf2bb301a
commit 89a05b47a8
9 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ static const char *URI_s[] = {
static int ndefRecordDecodeAndPrint(uint8_t *ndefRecord, size_t ndefRecordLen);
static int ndefDecodePayload(NDEFHeader_t *ndef);
static uint16_t ndefTLVGetLength(uint8_t *data, size_t *indx) {
static uint16_t ndefTLVGetLength(const uint8_t *data, size_t *indx) {
uint16_t len = 0;
if (data[0] == 0xff) {
len = (data[1] << 8) + data[2];