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:
Thea Juna Schwanke
2025-06-03 03:16:13 +02:00
committed by GitHub
parent 894e5b6e39
commit 966cd39250
3 changed files with 6 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 = {