1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

Add DEZ10

by realcatgirly

https://github.com/Next-Flip/Momentum-Firmware/pull/418/files
This commit is contained in:
MX
2025-06-25 02:50:18 +03:00
parent 98a4477999
commit 0b53be5cbd
2 changed files with 5 additions and 4 deletions

View File

@@ -374,11 +374,13 @@ void protocol_em4100_render_data(ProtocolEM4100* protocol, FuriString* result) {
furi_string_printf(
result,
"FC: %03u Card: %05hu CL:%hhu\n"
"DEZ 8: %08lu",
"DEZ 8: %08lu\n"
"DEZ 10: %010lu",
data[2],
(uint16_t)((data[3] << 8) | (data[4])),
protocol->clock_per_bit,
(uint32_t)((data[2] << 16) | (data[3] << 8) | (data[4])));
(uint32_t)((data[2] << 16) | (data[3] << 8) | (data[4])),
(uint32_t)((data[1] << 24) | (data[2] << 16) | (data[3] << 8) | (data[4])));
}
const ProtocolBase protocol_em4100 = {