From 49e8a4d6fe1ac4f5f9100cce5e01ea59305adeb4 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 1 Feb 2014 15:40:27 +0100 Subject: spi: Improve probe names/descriptions a bit. --- decoders/spi/pd.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'decoders/spi') diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 03a45da..e6e45c4 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -64,14 +64,12 @@ class Decoder(srd.Decoder): inputs = ['logic'] outputs = ['spi'] probes = [ - {'id': 'clk', 'name': 'CLK', 'desc': 'SPI clock line'}, + {'id': 'clk', 'name': 'CLK', 'desc': 'Clock'}, ] optional_probes = [ - {'id': 'miso', 'name': 'MISO', - 'desc': 'SPI MISO line (master in, slave out)'}, - {'id': 'mosi', 'name': 'MOSI', - 'desc': 'SPI MOSI line (master out, slave in)'}, - {'id': 'cs', 'name': 'CS#', 'desc': 'SPI chip-select line'}, + {'id': 'miso', 'name': 'MISO', 'desc': 'Master in, slave out'}, + {'id': 'mosi', 'name': 'MOSI', 'desc': 'Master out, slave in'}, + {'id': 'cs', 'name': 'CS#', 'desc': 'Chip-select'}, ] options = { 'cs_polarity': ['CS# polarity', 'active-low'], -- cgit v1.2.3-70-g09d2