summaryrefslogtreecommitdiff
path: root/decoders/adns5020
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-01-13 19:51:07 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-03-31 20:44:20 +0200
commitc2faaa6952073ba9305834728a768f9e7b5361fb (patch)
tree4cf895fe5a4ee4846f3f42935db163645a80c6c6 /decoders/adns5020
parent34f18d2f444e999644ad1244b8ff140e07d4b5a1 (diff)
downloadlibsigrokdecode-c2faaa6952073ba9305834728a768f9e7b5361fb.tar.gz
libsigrokdecode-c2faaa6952073ba9305834728a768f9e7b5361fb.zip
adns5020: Python style nit, fixup whitespace
Diffstat (limited to 'decoders/adns5020')
-rw-r--r--decoders/adns5020/pd.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/decoders/adns5020/pd.py b/decoders/adns5020/pd.py
index 55f6853..cd72eca 100644
--- a/decoders/adns5020/pd.py
+++ b/decoders/adns5020/pd.py
@@ -20,22 +20,22 @@
import sigrokdecode as srd
regs = {
- 0: 'Product_ID',
- 1: 'Revision_ID',
- 2: 'Motion',
- 3: 'Delta_X',
- 4: 'Delta_Y',
- 5: 'SQUAL',
- 6: 'Shutter_Upper',
- 7: 'Shutter_Lower',
- 8: 'Maximum_Pixel',
- 9: 'Pixel_Sum',
- 0xa: 'Minimum_Pixel',
- 0xb: 'Pixel_Grab',
- 0xd: 'Mouse_Control',
- 0x3a: 'Chip_Reset',
- 0x3f: 'Inv_Rev_ID',
- 0x63: 'Motion_Burst',
+ 0: 'Product_ID',
+ 1: 'Revision_ID',
+ 2: 'Motion',
+ 3: 'Delta_X',
+ 4: 'Delta_Y',
+ 5: 'SQUAL',
+ 6: 'Shutter_Upper',
+ 7: 'Shutter_Lower',
+ 8: 'Maximum_Pixel',
+ 9: 'Pixel_Sum',
+ 0xa: 'Minimum_Pixel',
+ 0xb: 'Pixel_Grab',
+ 0xd: 'Mouse_Control',
+ 0x3a: 'Chip_Reset',
+ 0x3f: 'Inv_Rev_ID',
+ 0x63: 'Motion_Burst',
}
class Decoder(srd.Decoder):