projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3f4c4
)
adding docstring to translate function
author
rishucoding
<rishucoding@gmail.com>
Tue, 12 Jun 2018 09:50:56 +0000
(15:20 +0530)
committer
rishucoding
<rishucoding@gmail.com>
Tue, 12 Jun 2018 09:50:56 +0000
(15:20 +0530)
src/bsv/actual_pinmux.py
patch
|
blob
|
history
diff --git
a/src/bsv/actual_pinmux.py
b/src/bsv/actual_pinmux.py
index 6899172189883eb0cdca7baa1ebadbdc8c714662..28d266738082388c4ae4f47ba259a80d89eeb4a8 100644
(file)
--- a/
src/bsv/actual_pinmux.py
+++ b/
src/bsv/actual_pinmux.py
@@
-28,6
+28,8
@@
def cn(idx): # idx is an integer
def transfn(temp):
+ """ removes the number from the string of signal name.
+ """
temp = temp.split('_')
if len(temp) == 2:
temp[0] = temp[0].translate(digits)