test swap em4100 t5577 blocks (issue 3463 ofw)

This commit is contained in:
MX 2024-03-15 09:32:42 +03:00
parent d573cc06da
commit f88da8b0c3
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83

View File

@ -318,8 +318,8 @@ bool protocol_em4100_write_data(ProtocolEM4100* protocol, void* data) {
request->t5577.block[0] =
(LFRFID_T5577_MODULATION_MANCHESTER | protocol_em4100_get_t5577_bitrate(protocol) |
(2 << LFRFID_T5577_MAXBLOCK_SHIFT));
request->t5577.block[1] = protocol->encoded_data;
request->t5577.block[2] = protocol->encoded_data >> 32;
request->t5577.block[1] = protocol->encoded_data >> 32;
request->t5577.block[2] = protocol->encoded_data;
request->t5577.blocks_to_write = 3;
result = true;
}