summaryrefslogtreecommitdiff
path: root/decoders/spiflash
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/spiflash')
-rw-r--r--decoders/spiflash/pd.py4
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