From 06b52ebb5fe7c09890dee02aa653578c2faf5a65 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 31 Jan 2014 14:56:14 +0100 Subject: spi: Define annotation rows. --- decoders/spi/pd.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoders') diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 7761f31..03a45da 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -86,6 +86,11 @@ class Decoder(srd.Decoder): ['mosi-data', 'MOSI SPI data'], ['warnings', 'Human-readable warnings'], ] + annotation_rows = ( + ('miso', 'MISO', (0,)), + ('mosi', 'MOSI', (1,)), + ('other', 'Other', (2,)), + ) def __init__(self): self.samplerate = None -- cgit v1.2.3-70-g09d2