From 4c267908613ad05a2b40a37ba7a02165cbbf83c8 Mon Sep 17 00:00:00 2001 From: gornekich Date: Tue, 17 Oct 2023 14:06:11 +0400 Subject: [PATCH] nfc app: undo incorrect fixes --- applications/main/nfc/views/dict_attack.c | 2 +- lib/nfc/protocols/iso14443_3b/iso14443_3b.c | 2 +- lib/nfc/protocols/mf_ultralight/mf_ultralight_listener.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/main/nfc/views/dict_attack.c b/applications/main/nfc/views/dict_attack.c index adb36e1f118..b656c2dc5b5 100644 --- a/applications/main/nfc/views/dict_attack.c +++ b/applications/main/nfc/views/dict_attack.c @@ -62,7 +62,7 @@ static void dict_attack_draw_callback(Canvas* canvas, void* model) { snprintf( draw_str, sizeof(draw_str), "%zu/%zu", m->dict_keys_current, m->dict_keys_total); } - elements_progress_bar_with_text(canvas, 0, 0, 128, dict_progress, draw_str); + elements_progress_bar_with_text(canvas, 0, 20, 128, dict_progress, draw_str); canvas_set_font(canvas, FontSecondary); snprintf( draw_str, diff --git a/lib/nfc/protocols/iso14443_3b/iso14443_3b.c b/lib/nfc/protocols/iso14443_3b/iso14443_3b.c index 36332b3ba9a..2cda90206ab 100644 --- a/lib/nfc/protocols/iso14443_3b/iso14443_3b.c +++ b/lib/nfc/protocols/iso14443_3b/iso14443_3b.c @@ -53,7 +53,7 @@ void iso14443_3b_copy(Iso14443_3bData* data, const Iso14443_3bData* other) { bool iso14443_3b_verify(Iso14443_3bData* data, const FuriString* device_type) { UNUSED(data); UNUSED(device_type); - // No support for old ISO14443-3B? + // No support for old ISO14443-3B return false; } diff --git a/lib/nfc/protocols/mf_ultralight/mf_ultralight_listener.c b/lib/nfc/protocols/mf_ultralight/mf_ultralight_listener.c index 2051b378bf6..32751601bc1 100644 --- a/lib/nfc/protocols/mf_ultralight/mf_ultralight_listener.c +++ b/lib/nfc/protocols/mf_ultralight/mf_ultralight_listener.c @@ -242,7 +242,7 @@ static MfUltralightCommand break; } - // No SRAM emulation implementation support + // No SRAM emulation support command = MfUltralightCommandProcessedACK; } while(false);