diff options
-rwxr-xr-x | tools/gen-device-svd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-device-svd.py b/tools/gen-device-svd.py index 990b2080d..ee0165ee7 100755 --- a/tools/gen-device-svd.py +++ b/tools/gen-device-svd.py @@ -132,7 +132,7 @@ def readSVD(path, sourceURL): clusterPrefix = clusterName + '_' clusterOffset = int(getText(cluster.find('addressOffset')), 0) if cluster.find('dim') is None: - if clusterOffset is 0: + if clusterOffset == 0: # make this a separate peripheral cpRegisters = [] for regEl in cluster.findall('register'): |