summaryrefslogtreecommitdiff
path: root/decoders/modbus/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-22 22:05:54 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-26 14:38:18 +0200
commitbd7efe23c7a2e6c6698a3652fc0ce0a0d5dab156 (patch)
tree8e8d135761c6d40239b06dd4b952e36ca242a950 /decoders/modbus/pd.py
parentb0edaeb30d16af16ddbe112fe12960697196b581 (diff)
downloadlibsigrokdecode-bd7efe23c7a2e6c6698a3652fc0ce0a0d5dab156.tar.gz
libsigrokdecode-bd7efe23c7a2e6c6698a3652fc0ce0a0d5dab156.zip
can: avoid assignment to .id field during frame inspection
The CAN frame's ID field gets stored in an .id member, which is unfortunate. Use .ident instead. The 'id' identifier is a Python language word, though it's used for PD boilerplate as well. Assume that the boilerplate is worth keeping, and harder to adjust (more dependencies), so adjust this PD's implementation to resolve the ambiguity.
Diffstat (limited to 'decoders/modbus/pd.py')
0 files changed, 0 insertions, 0 deletions