mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
RFID: Add DEZ10 representation to EM410X (#418)
* Add DEZ10 to EM410X output * make EM410X read success scene text box scrollable so no content overlaps with the buttons * Reduce DEZ10 variable to 32bits as 64 is not needed * run ./fbt format for consistent code formatting * Preview next line like other apps * Update changelog --------- Co-authored-by: WillyJL <49810075+WillyJL@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
894e5b6e39
commit
966cd39250
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user