diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-02-01 15:40:27 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-02-01 15:59:13 +0100 |
commit | 49e8a4d6fe1ac4f5f9100cce5e01ea59305adeb4 (patch) | |
tree | 21dc8e69b157de8a7fa947326080fa7af6601c47 | |
parent | 8e11415b6bc83e6a114223a3ece588097b0e50d9 (diff) | |
download | libsigrokdecode-49e8a4d6fe1ac4f5f9100cce5e01ea59305adeb4.tar.gz libsigrokdecode-49e8a4d6fe1ac4f5f9100cce5e01ea59305adeb4.zip |
spi: Improve probe names/descriptions a bit.
-rw-r--r-- | decoders/spi/pd.py | 10 |
1 files changed, 4 insertions, 6 deletions
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'], |