Commit d62fa8ec authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

more logging

parent 7ebfd900
...@@ -72,6 +72,7 @@ def connection_errors(): ...@@ -72,6 +72,7 @@ def connection_errors():
data = cached_data data = cached_data
fld_value = (data >> fld['start_bit']) & ((1 << fld['num_bits']) - 1) fld_value = (data >> fld['start_bit']) & ((1 << fld['num_bits']) - 1)
if first_line: if first_line:
log_msg("%s: 0x%08x [%08x]"%(group_range, data, byte_addr))
first_line = False first_line = False
if fld_value or not skip0: if fld_value or not skip0:
log_msg("%8x : %s (%s)"%(fld_value, fld['name'], fld['description'] )) log_msg("%8x : %s (%s)"%(fld_value, fld['name'], fld['description'] ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment