projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c7c24
)
skip blank-string entries
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 13 Jun 2018 11:31:37 +0000
(12:31 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 13 Jun 2018 11:31:37 +0000
(12:31 +0100)
src/bsv/actual_pinmux.py
patch
|
blob
|
history
diff --git
a/src/bsv/actual_pinmux.py
b/src/bsv/actual_pinmux.py
index 356adb62faac5a4d8df3131c74e09d3821e657d5..65473e099acb2cb10e6fda2ff4bfce2e200a28af 100644
(file)
--- a/
src/bsv/actual_pinmux.py
+++ b/
src/bsv/actual_pinmux.py
@@
-61,6
+61,8
@@
def init(p, ifaces):
# user-to-user. Plus this also reduces human-error as well :)
for i in range(0, len(cell) - 1):
cname = cell[i + 1]
+ if not cname: # skip blank entries, no need to test
+ continue
temp = transfn(cname)
x = ifaces.getifacetype(temp)
#print (cname, temp, x)