From: Uwe Hermann Date: Sat, 14 Jan 2012 20:41:41 +0000 (+0100) Subject: Improve 'longname' PD strings, use in 'sigrok-cli -V'. X-Git-Tag: libsigrokdecode-0.1.0~148 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3d3da57d7e7a7414e012e86dde32530e01b4dc45;p=libsigrokdecode.git Improve 'longname' PD strings, use in 'sigrok-cli -V'. --- diff --git a/decoders/dcf77.py b/decoders/dcf77.py index 7002660..f1bf7fa 100644 --- a/decoders/dcf77.py +++ b/decoders/dcf77.py @@ -47,7 +47,7 @@ def bcd2int(b): class Decoder(srd.Decoder): id = 'dcf77' name = 'DCF77' - longname = 'TODO.' + longname = 'DCF77 time protocol' desc = 'TODO.' longdesc = 'TODO.' author = 'Uwe Hermann' diff --git a/decoders/mx25lxx05d.py b/decoders/mx25lxx05d.py index 78478f1..419139d 100644 --- a/decoders/mx25lxx05d.py +++ b/decoders/mx25lxx05d.py @@ -104,7 +104,7 @@ device_name = { class Decoder(srd.Decoder): id = 'mx25lxx05d' name = 'MX25Lxx05D' - longname = 'Macronix MX25Lxx05D SPI flash chip decoder' + longname = 'Macronix MX25Lxx05D' desc = 'Macronix MX25Lxx05D SPI flash chip decoder' longdesc = 'TODO' author = 'Uwe Hermann' diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py index 4a5b7a0..5856e4e 100644 --- a/decoders/nunchuk.py +++ b/decoders/nunchuk.py @@ -42,7 +42,7 @@ INITIALIZED = 4 class Decoder(srd.Decoder): id = 'nunchuk' name = 'Nunchuk' - longname = 'Nintendo Wii Nunchuk decoder' + longname = 'Nintendo Wii Nunchuk' desc = 'Decodes the Nintendo Wii Nunchuk I2C-based protocol.' longdesc = '...' author = 'Uwe Hermann' diff --git a/decoders/pan1321.py b/decoders/pan1321.py index 601fcfd..fc34aac 100644 --- a/decoders/pan1321.py +++ b/decoders/pan1321.py @@ -32,8 +32,8 @@ T_DATA = 1 class Decoder(srd.Decoder): id = 'pan1321' - name = 'Panasonic PAN1321' - longname = 'TODO.' + name = 'PAN1321' + longname = 'Panasonic PAN1321' desc = 'TODO.' longdesc = 'TODO.' author = 'Uwe Hermann' diff --git a/decoders/spi.py b/decoders/spi.py index cf37620..accf4c6 100644 --- a/decoders/spi.py +++ b/decoders/spi.py @@ -50,7 +50,7 @@ ANN_HEX = 0 class Decoder(srd.Decoder): id = 'spi' name = 'SPI' - longname = 'Serial Peripheral Interface (SPI) bus' + longname = 'Serial Peripheral Interface' desc = '...desc...' longdesc = '...longdesc...' author = 'Gareth McMullin' diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index ded3a3d..8cb32bb 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter.py @@ -23,7 +23,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): id = 'transitioncounter' name = 'Transition counter' - longname = '...' + longname = 'Pin transition counter' desc = 'Counts rising/falling edges in the signal.' longdesc = '...' author = 'Uwe Hermann' diff --git a/decoders/uart.py b/decoders/uart.py index 760a590..eec3908 100644 --- a/decoders/uart.py +++ b/decoders/uart.py @@ -193,7 +193,7 @@ def parity_ok(parity_type, parity_bit, data, num_data_bits): class Decoder(srd.Decoder): id = 'uart' name = 'UART' - longname = 'Universal Asynchronous Receiver/Transmitter (UART)' + longname = 'Universal Asynchronous Receiver/Transmitter' desc = 'Universal Asynchronous Receiver/Transmitter (UART)' longdesc = 'TODO.' author = 'Uwe Hermann'