diff --git a/src/lib/nfc.c b/src/lib/nfc.c index d09fe4d..2e68dd1 100644 --- a/src/lib/nfc.c +++ b/src/lib/nfc.c @@ -493,7 +493,7 @@ bool nfc_initiator_select_tag(const nfc_device_t* pnd, const nfc_modulation_t nm // (e.g. 0x8801020304050607 is in fact 0x01020304050607) if ((pnti->nai.szUidLen == 8) && (pnti->nai.abtUid[0] == 0x88)) { pnti->nai.szUidLen = 7; - memmove (pnti->nai.abtUid, pnti->nai.abtUid + 1, 7) + memmove (pnti->nai.abtUid, pnti->nai.abtUid + 1, 7); } else if ((pnti->nai.szUidLen == 12) && (pnti->nai.abtUid[0] == 0x88) && (pnti->nai.abtUid[4] == 0x88)) { pnti->nai.szUidLen = 10; memmove (pnti->nai.abtUid, pnti->nai.abtUid + 1, 3);