chg: compare with low case

This commit is contained in:
iceman1001 2019-04-05 08:36:12 +02:00
parent a499e30608
commit 229452719a

View file

@ -265,7 +265,7 @@ local function test(modulation)
for _ = 1, #data_blocks_cmds do
local val = data_blocks_cmds[_]
local blockdata, msg = CheckReadBlock(_)
if blockdata ~= val then
if blockdata:lower() ~= val:lower() then
print( ('Test %s == %s Failed'):format(val, blockdata))
core.console( format('rem -- block %d value %s failed', _, val))
else