Browse Source

Merge pull request #27 from looran/fix-clusters-no-dim

Fix handling non dimensioned clusters
master
Ben Nahill 3 years ago committed by GitHub
parent
commit
77e9717a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      cmdebug/svd.py

6
cmdebug/svd.py

@ -90,9 +90,9 @@ def add_cluster(parent, node):
offset += incr
else:
try:
parent.clusters[str(r.name)] = SVDRegisterCluster(node, parent)
except:
pass
parent.clusters[str(node.name)] = SVDRegisterCluster(node, parent)
except SVDNonFatalError as e:
print(e)
class SVDRegisterCluster:
def __init__(self, svd_elem, parent):

Loading…
Cancel
Save