From: Gerhard Sittig Date: Sat, 13 Jan 2018 18:51:07 +0000 (+0100) Subject: adns5020: Python style nit, fixup whitespace X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c2faaa6952073ba9305834728a768f9e7b5361fb;p=libsigrokdecode.git adns5020: Python style nit, fixup whitespace --- 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):