summaryrefslogtreecommitdiff
path: root/decoders/adns5020
diff options
context:
space:
mode:
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']