projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a795d4f
)
pick up function keys different way
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 1 Jul 2018 23:22:23 +0000
(
00:22
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 1 Jul 2018 23:22:23 +0000
(
00:22
+0100)
src/spec/ifaceprint.py
patch
|
blob
|
history
diff --git
a/src/spec/ifaceprint.py
b/src/spec/ifaceprint.py
index f8b95d2593ec15544ca8f7a8b8500b2412e6546c..d0e9e24fb95fd220e039a7280eb0954e38a26c7e 100644
(file)
--- a/
src/spec/ifaceprint.py
+++ b/
src/spec/ifaceprint.py
@@
-136,9
+136,9
@@
def check_functions(of, title, bankspec, fns, pins, required, eint, pwm,
continue
for k in pins.fnspec.keys():
if fname.startswith(k):
- fk =
pins.fnspec[k].keys(
)
+ fk =
list(pins.fnspec[k].keys()
)
fn = pins.fnspec[k]
- fn = fn[
list(fn.keys())
[0]]
+ fn = fn[
fk
[0]]
#print fname, fn, dir(fn)
if count == 100000:
count = len(fn.pingroup)