projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe6319
)
Rename sigrokdecode_register_i2c() to register().
author
unknown
<Uwe@.(none)>
Fri, 23 Apr 2010 16:47:43 +0000
(18:47 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 23 Apr 2010 17:38:50 +0000
(19:38 +0200)
scripts/i2c.py
patch
|
blob
|
history
diff --git
a/scripts/i2c.py
b/scripts/i2c.py
index 6f9a160fa0cdee3054d5f7dc3cec778799b36268..0854895f0cf25b4446e0c40f007213c16e4400d2 100644
(file)
--- a/
scripts/i2c.py
+++ b/
scripts/i2c.py
@@
-149,8
+149,8
@@
def sigrokdecode_i2c(inbuf):
return o
# This is just a draft.
-def
sigrokdecode_register_i2c
():
-
metadata =
{
+def
register
():
+
return
{
'id': 'i2c',
'name': 'I2C',
'description': 'Inter-Integrated Circuit (I2C) bus',
@@
-162,7
+162,6
@@
def sigrokdecode_register_i2c():
},
'ouputformats': ['i2c', 'ascii'],
}
- return metadata
# Use psyco (if available) as it results in huge performance improvements.
try: