projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3de1e8
)
fix single name
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 23 Jul 2018 06:49:21 +0000
(07:49 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 23 Jul 2018 06:49:21 +0000
(07:49 +0100)
src/bsv/interface_decl.py
patch
|
blob
|
history
diff --git
a/src/bsv/interface_decl.py
b/src/bsv/interface_decl.py
index 0ae52abbdda82e0116eac5b6b07a13fbac714f5b..6edaa5ad0be7168d18510bf6f73caed8e3ef1334 100644
(file)
--- a/
src/bsv/interface_decl.py
+++ b/
src/bsv/interface_decl.py
@@
-177,7
+177,10
@@
class Interface(PeripheralIface):
#{'name': 'twi_sda_in', 'action': False}
# NOTice - outen key is removed
else:
- _p['name_'] = p['name']
+ name = p['name']
+ if self.single:
+ name = self.pname(name)
+ _p['name_'] = name
_p['name'] = self.pname(p['name'])
self.pins.append(Pin(**_p))