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()
|
main = main:lower()
|
||||||
sub = sub:lower()
|
sub = sub:lower()
|
||||||
for k, v in pairs(_names) do
|
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
|
return v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -30,6 +30,8 @@ local bxor = bit32.bxor
|
||||||
---
|
---
|
||||||
-- A debug printout-function
|
-- A debug printout-function
|
||||||
local function dbg(args)
|
local function dbg(args)
|
||||||
|
if not DEBUG then return end
|
||||||
|
|
||||||
if type(args) == "table" then
|
if type(args) == "table" then
|
||||||
local i = 1
|
local i = 1
|
||||||
while args[i] do
|
while args[i] do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue