Skip to content

Commit 1c8a33d

Browse files
committed
Removed debug prints.
1 parent ba933a4 commit 1c8a33d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lpc17prl.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,10 @@ if opts.mode == 'calculate' then
182182

183183
local sum = 0
184184

185-
for byteno=1,7,1 do
185+
for byteno=1,7 do
186186
local bytes = f:read(4)
187187
local int32 = B.dec32LE(bytes)
188188
sum = sum + int32
189-
D.yellow''(byteno,int32,B.hex(int32))
190189
end
191190

192191
sum = -sum
@@ -195,8 +194,6 @@ if opts.mode == 'calculate' then
195194
f:write(B.enc32LE(sum))
196195
f:close()
197196

198-
D.green'File saved! Checksum:'(sum,B.hex(sum))
199-
200197
os.exit()
201198
end
202199

0 commit comments

Comments
 (0)