summaryrefslogtreecommitdiff
path: root/decoders/i2c.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-10 21:05:09 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-10 21:05:09 +0100
commite97b6ef569f73e387b2597dfa144c01838c0e27c (patch)
tree3c106735b15718ab96704f06b9fb51a431d6701b /decoders/i2c.py
parent94d43b37bd34263f5ed9f7135aac5fe7413c7f07 (diff)
downloadlibsigrokdecode-e97b6ef569f73e387b2597dfa144c01838c0e27c.tar.gz
libsigrokdecode-e97b6ef569f73e387b2597dfa144c01838c0e27c.zip
srd: annotation -> annotations.
In the PDs (Python code), the 'annotation' variable/attribute is a list of annotation formats. Use the plural 'annotations' as we do for other lists such as 'inputs', 'outputs', 'probes', 'options', and so on.
Diffstat (limited to 'decoders/i2c.py')
-rw-r--r--decoders/i2c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2c.py b/decoders/i2c.py
index 60558c5..b101e8a 100644
--- a/decoders/i2c.py
+++ b/decoders/i2c.py
@@ -137,7 +137,7 @@ class Decoder(sigrokdecode.Decoder):
options = {
'address-space': ['Address space (in bits)', 7],
}
- annotation = [
+ annotations = [
# ANN_SHIFTED
["7-bit shifted hex",
"Read/Write bit shifted out from the 8-bit i2c slave address"],