mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
make style
This commit is contained in:
parent
182f239d21
commit
2c0a8bbd91
3 changed files with 11 additions and 11 deletions
|
@ -59,21 +59,21 @@ local function main(args)
|
|||
local keylength = 4
|
||||
|
||||
for o, a in getopt.getopt(args, 'f:h') do
|
||||
|
||||
|
||||
-- help
|
||||
if o == 'h' then return help() end
|
||||
|
||||
-- offset
|
||||
if o == 'f' then filename = a end
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
data, length, err = core.GetFromFlashMemSpiffs(filename)
|
||||
if data == nil then return oops('Problem while reading file from SPIFFS') end
|
||||
|
||||
--print('Filename', filename)
|
||||
--print('Filename', filename)
|
||||
--print('Filesize (B)', length)
|
||||
|
||||
|
||||
_, s = bin.unpack('H'..length, data)
|
||||
|
||||
local cnt = 0, i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue