From bd8824a2f308a597690c91f47efb279801534870 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Tue, 16 Jul 2019 16:10:11 +0300 Subject: [PATCH] make style --- armsrc/Standalone/hf_colin.c | 6 +++--- client/scripts/read_pwd_mem.lua | 4 ++-- include/pmflash.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/armsrc/Standalone/hf_colin.c b/armsrc/Standalone/hf_colin.c index 060c4af06d..d74eaeb952 100644 --- a/armsrc/Standalone/hf_colin.c +++ b/armsrc/Standalone/hf_colin.c @@ -792,13 +792,13 @@ void RunMod() { flags = FLAG_4B_UID_IN_DATA; break; default: - flags = FLAG_UID_IN_EMUL; - break; + flags = FLAG_UID_IN_EMUL; + break; } // Use UID, SAK, ATQA from EMUL, if uid not defined //if ((flags & (FLAG_4B_UID_IN_DATA | FLAG_7B_UID_IN_DATA | FLAG_10B_UID_IN_DATA)) == 0) { - flags |= FLAG_UID_IN_EMUL; + flags |= FLAG_UID_IN_EMUL; //} Mifare1ksim(flags | FLAG_MF_1K, 0, cjuid); LED_C_OFF(); diff --git a/client/scripts/read_pwd_mem.lua b/client/scripts/read_pwd_mem.lua index 7dbfa6fba9..5f8edcc742 100644 --- a/client/scripts/read_pwd_mem.lua +++ b/client/scripts/read_pwd_mem.lua @@ -81,8 +81,8 @@ local function main(args) if o == 'o' then offset = tonumber(a) end -- num of bytes to read - if o == 'l' then - length = tonumber(a) + if o == 'l' then + length = tonumber(a) if length < 0 or length > 256 then return oops('Error: Length is not valid. Must be less than 256') end diff --git a/include/pmflash.h b/include/pmflash.h index a76b90daea..b7bf39ddcd 100644 --- a/include/pmflash.h +++ b/include/pmflash.h @@ -94,4 +94,4 @@ typedef struct { } #endif -#endif // __PMFLASH_H \ No newline at end of file +#endif // __PMFLASH_H