projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd1e23
)
whoops must delete type field before passing to bsv Pin class
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 16 Jul 2018 10:43:09 +0000
(11:43 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 16 Jul 2018 10:43:09 +0000
(11:43 +0100)
src/bsv/interface_decl.py
patch
|
blob
|
history
diff --git
a/src/bsv/interface_decl.py
b/src/bsv/interface_decl.py
index 84eb2f02489082d9017c1b376f732e5ef51394c9..a4e3e757020780af7fe9537f24abfbc3605d7c60 100644
(file)
--- a/
src/bsv/interface_decl.py
+++ b/
src/bsv/interface_decl.py
@@
-124,6
+124,8
@@
class Interface(object):
for p in pinspecs:
_p = {}
_p.update(p)
+ if _p.has_key('type'):
+ del _p['type']
if p.get('outen') is True: # special case, generate 3 pins
del _p['outen']
for psuffix in ['out', 'outen', 'in']: