From 3b4b7812bf08ff6dd05545382d08e2a3ee6f1cee Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 2 Dec 2017 19:01:43 +0100 Subject: [PATCH] fix: removed a warning, --- client/cmdhfmfu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmfu.c b/client/cmdhfmfu.c index 7fb21f484..93d5bb3c8 100644 --- a/client/cmdhfmfu.c +++ b/client/cmdhfmfu.c @@ -627,7 +627,7 @@ static int ulev1_print_configuration(uint32_t tagtype, uint8_t *data, uint8_t st uint8_t mirror_conf = (data[0] & 0xC0); uint8_t mirror_byte = (data[0] & 0x30); bool sleep_en = (data[0] & 0x08); - bool strg_mod_en = (data[0] & 0x04); + strg_mod_en = (data[0] & 0x04); uint8_t fdp_conf = (data[0] & 0x03); switch (mirror_conf) { @@ -638,7 +638,6 @@ static int ulev1_print_configuration(uint32_t tagtype, uint8_t *data, uint8_t st default: break; } - PrintAndLog(" - strong modulation mode %s", (strg_mod_en) ? "enabled":"disabled"); PrintAndLog(" - SLEEP mode %s", (sleep_en) ? "enabled":"disabled"); switch (fdp_conf) { @@ -665,6 +664,7 @@ static int ulev1_print_configuration(uint32_t tagtype, uint8_t *data, uint8_t st } } } + PrintAndLog(" - strong modulation mode %s", (strg_mod_en) ? "enabled":"disabled"); if ( data[3] < 0xff ) PrintAndLog(" - page %d and above need authentication",data[3]);