Skip to content

Commit 25cf596

Browse files
committed
bug fix, skip empty entries
1 parent 6777e29 commit 25cf596

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

classes/protocol_settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,8 @@ def process_row(row):
452452
self._log.warning("Invalid Name : " + str(variable_name) + " reg: " + str(row['register']) + " doc name: " + str(row['documented name']) + " path: " + str(path))
453453

454454

455-
455+
if not variable_name and not row['documented name']: #skip empty entry / no name. todo add more invalidator checks.
456+
return
456457

457458
#region data type
458459
data_type = Data_Type.USHORT

0 commit comments

Comments
 (0)