mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-02 12:13:16 +03:00
LFRFID: add DEZ 10 display form for EM4100
This commit is contained in:
parent
460b17e23b
commit
379d3c2008
@ -347,11 +347,13 @@ void protocol_em4100_render_data(ProtocolEM4100* protocol, FuriString* result) {
|
|||||||
uint8_t* data = protocol->data;
|
uint8_t* data = protocol->data;
|
||||||
furi_string_printf(
|
furi_string_printf(
|
||||||
result,
|
result,
|
||||||
"FC: %03u\n"
|
"FC: %03u Card: %05hu CL:%hhu\n"
|
||||||
"Card: %05hu (RF/%hhu)",
|
"DEZ 10: %010lu",
|
||||||
data[2],
|
data[2],
|
||||||
(uint16_t)((data[3] << 8) | (data[4])),
|
(uint16_t)((data[3] << 8) | (data[4])),
|
||||||
protocol->clock_per_bit);
|
protocol->clock_per_bit,
|
||||||
|
(uint32_t)((data[2] << 16) | (data[3] << 8) | (data[4]))
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ProtocolBase protocol_em4100 = {
|
const ProtocolBase protocol_em4100 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user