Fix felica_sendraw

This commit is contained in:
acru3l 2022-04-27 11:38:28 +09:00
parent da81c6806b
commit f57879cbcb

View file

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