From 3821c9049e8e618f87da346571ff1ac48a78f191 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 1 Dec 2025 05:36:10 +0300 Subject: [PATCH] Add MFUL counters to Info page by aaronjamt --- .../protocol_support/mf_ultralight/mf_ultralight_render.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight_render.c b/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight_render.c index ef83d1942..8d20109f8 100644 --- a/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight_render.c +++ b/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight_render.c @@ -9,6 +9,11 @@ static void nfc_render_mf_ultralight_pages_count(const MfUltralightData* data, F } } +static void nfc_render_mf_ultralight_counters(const MfUltralightData* data, FuriString* str) { + for(uint8_t i = 0; i < MF_ULTRALIGHT_COUNTER_NUM; i++) + furi_string_cat_printf(str, "\nCounter %u: %lu", i, data->counter[i].counter); +} + void nfc_render_mf_ultralight_pwd_pack(const MfUltralightData* data, FuriString* str) { MfUltralightConfigPages* config; @@ -35,6 +40,8 @@ void nfc_render_mf_ultralight_pwd_pack(const MfUltralightData* data, FuriString* } nfc_render_mf_ultralight_pages_count(data, str); + + nfc_render_mf_ultralight_counters(data, str); } void nfc_render_mf_ultralight_info(