mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: skip if not debug
This commit is contained in:
parent
eb0c0c364c
commit
d54bb4ddf4
2 changed files with 3 additions and 1 deletions
|
@ -455,7 +455,7 @@ local function find( main, sub)
|
|||
main = main:lower()
|
||||
sub = sub:lower()
|
||||
for k, v in pairs(_names) do
|
||||
if ( v[2]:lower() == main and v[3]:lower() == sub) then
|
||||
if ( v[2]:lower() == main and v[3]:lower() == sub) then
|
||||
return v
|
||||
end
|
||||
end
|
||||
|
|
|
@ -30,6 +30,8 @@ local bxor = bit32.bxor
|
|||
---
|
||||
-- A debug printout-function
|
||||
local function dbg(args)
|
||||
if not DEBUG then return end
|
||||
|
||||
if type(args) == "table" then
|
||||
local i = 1
|
||||
while args[i] do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue