fix: script run e - if called with param but no value, use default value for width.

fix: if no models found, return lua error.
textual changes.
This commit is contained in:
iceman1001 2018-02-03 22:17:07 +01:00
commit 8a49cb84a2
3 changed files with 23 additions and 17 deletions

View file

@ -50,6 +50,7 @@ function main(args)
end
data = data or '01020304'
width = width or 0
print( string.rep('-',60) )
print('Bit width of CRC | '..width)