em tearoff check

This commit is contained in:
Philippe Teuwen 2020-10-11 13:16:23 +02:00
parent e636934dac
commit cd892035dd

View file

@ -111,6 +111,10 @@ local function main(args)
else
rd_value = ('%08X'):format(word14)
end
if rd_value == '00008000' then
print('Tag already fully unlocked, nothing to do')
return nil
end
local wr_value = '00000000'
n = n or 2
sd = sd or 2000