From ce0fb9a37844cb2fcb8f7c569265c78ceb548162 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 24 Apr 2019 22:00:02 +0200 Subject: spi: Fix annotation row ordering. Use the same (more logical) order of having the "bits" annotation row being the first one, which is also what pretty much all other PDs do. --- decoders/spi/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 8d0d6ae..952b066 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -112,11 +112,11 @@ class Decoder(srd.Decoder): ('mosi-transfer', 'MOSI transfer'), ) annotation_rows = ( - ('miso-data', 'MISO data', (0,)), ('miso-bits', 'MISO bits', (2,)), + ('miso-data', 'MISO data', (0,)), ('miso-transfer', 'MISO transfer', (5,)), - ('mosi-data', 'MOSI data', (1,)), ('mosi-bits', 'MOSI bits', (3,)), + ('mosi-data', 'MOSI data', (1,)), ('mosi-transfer', 'MOSI transfer', (6,)), ('other', 'Other', (4,)), ) -- cgit v1.2.3-70-g09d2