diff options
author | Ryan Jarvis <ryan@shopboxretail.com> | 2019-01-19 00:05:07 -0800 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-01-30 00:08:39 +0100 |
commit | 16d2031b149ff67be83b5600bdf5ad561add312d (patch) | |
tree | 242478dfaba1fa4e1542cfa492e328e4f8ffa6d0 /decoders/spiflash | |
parent | f78b814d54b19233d5e3f7cfef3d30a7a5ac8d40 (diff) | |
download | libsigrokdecode-16d2031b149ff67be83b5600bdf5ad561add312d.tar.gz libsigrokdecode-16d2031b149ff67be83b5600bdf5ad561add312d.zip |
Rename values that shadow built-in keywords
Diffstat (limited to 'decoders/spiflash')
-rw-r--r-- | decoders/spiflash/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index aecc2d3..bbdf3fb 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -473,8 +473,8 @@ class Decoder(srd.Decoder): self.putx([Ann.FIELD, ['%s ID: 0x%02x' % (d, miso)]]) if self.cmdstate == 6: - id = self.ids[1] if self.manufacturer_id_first else self.ids[0] - self.device_id = id + id_ = self.ids[1] if self.manufacturer_id_first else self.ids[0] + self.device_id = id_ self.es_cmd = self.es self.putc([Ann.REMS, self.cmd_vendor_dev_list()]) self.state = None |