]> sigrok.org Git - libsigrokdecode.git/commit - decoders/onewire/onewire.py
srd: onewire: Fix incorrect format for annotation output.
authorUwe Hermann <redacted>
Tue, 22 May 2012 23:12:11 +0000 (01:12 +0200)
committerUwe Hermann <redacted>
Tue, 22 May 2012 23:12:11 +0000 (01:12 +0200)
commit1227e5854dcf4f6b5cd2f9792f66ea994c3a7bad
treed591fba619441cee3f2694f673efae1465cbadb9
parent080243a8224c8453c4993ad22f5bdc63e1dba2de
srd: onewire: Fix incorrect format for annotation output.

Should be a list containing:

 - Annotation format number (e.g. 0, or ANN_DEC, etc).

 - A list of strings (the annotation). If more than one string is
   supplied, the other ones should be short versions of the string.
   Example: [ANN_DEC, ["Foobarbaz", "Foo", "F"]]

   This is optional, and mostly useful for GUIs.
decoders/onewire/onewire.py