Merge pull request #1666 from acru3l/master

Fix felica_sendraw
This commit is contained in:
Iceman 2022-04-27 18:41:00 +02:00 committed by GitHub
commit 8bca01f515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -560,7 +560,7 @@ void felica_sendraw(PacketCommandNG *c) {
if ((param & FELICA_APPEND_CRC)) {
// Don't append crc on empty bytearray...
if (len > 0) {
AddCrc(buf, len);
AddCrc(buf + 2, len);
}
}
if (g_dbglevel >= DBG_DEBUG) {