summaryrefslogtreecommitdiff
path: root/decoders/adns5020
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-03-16 18:46:01 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-03-16 18:46:01 +0100
commit2787cf2abc0187679e87d3735ca3e64c2a1a91c8 (patch)
tree8baddf2048d8383a257284eabd238f7f4397568f /decoders/adns5020
parent2b46b01c72c06683b3130647affe92c425d573b5 (diff)
downloadlibsigrokdecode-2787cf2abc0187679e87d3735ca3e64c2a1a91c8.tar.gz
libsigrokdecode-2787cf2abc0187679e87d3735ca3e64c2a1a91c8.zip
decoders: Various cosmetic/consistency/typo fixes.
Diffstat (limited to 'decoders/adns5020')
-rw-r--r--decoders/adns5020/__init__.py4
-rw-r--r--decoders/adns5020/pd.py4
2 files changed, 5 insertions, 3 deletions
diff --git a/decoders/adns5020/__init__.py b/decoders/adns5020/__init__.py
index d4c260e..e519da4 100644
--- a/decoders/adns5020/__init__.py
+++ b/decoders/adns5020/__init__.py
@@ -19,7 +19,9 @@
'''
This decoder stacks on top of the 'spi' PD and decodes ADNS-5020 optical mouse
-sensor commands and data. Use MOSI for the SDIO shared line.
+sensor commands and data.
+
+Use MOSI for the SDIO shared line.
'''
from .pd import Decoder
diff --git a/decoders/adns5020/pd.py b/decoders/adns5020/pd.py
index 1703659..99fb224 100644
--- a/decoders/adns5020/pd.py
+++ b/decoders/adns5020/pd.py
@@ -42,8 +42,8 @@ class Decoder(srd.Decoder):
api_version = 3
id = 'adns5020'
name = 'ADNS-5020'
- longname = 'Avago ADNS-5020 optical mouse sensor'
- desc = 'Bidirectional command and data over an SPI-like protocol.'
+ longname = 'Avago ADNS-5020'
+ desc = 'Bidirectional optical mouse sensor protocol.'
license = 'gplv2+'
inputs = ['spi']
outputs = ['adns5020']