diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-16 16:27:08 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-16 16:27:08 +0200 |
commit | b197383cfb39b39ff04644855eef57f5d3c18bc1 (patch) | |
tree | 2e83d21a65d6a8c3f5ad9ac3c3ce3ebe289dfa8e /decoders/modbus/pd.py | |
parent | 6eb8f524817b3893632d9a651852f1fefe6fcd18 (diff) | |
download | libsigrokdecode-b197383cfb39b39ff04644855eef57f5d3c18bc1.tar.gz libsigrokdecode-b197383cfb39b39ff04644855eef57f5d3c18bc1.zip |
Mark all stacked decoders as being PD API version 3.
This is not really relevant for stacked PDs currently (they can be used
unmodified with either PDv2 or PDv3 low-level decoders), but it'll allow
us to drop PDv2 support completely.
Diffstat (limited to 'decoders/modbus/pd.py')
-rw-r--r-- | decoders/modbus/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/modbus/pd.py b/decoders/modbus/pd.py index 3420f99..2404312 100644 --- a/decoders/modbus/pd.py +++ b/decoders/modbus/pd.py @@ -811,7 +811,7 @@ class Modbus_ADU_CS(Modbus_ADU): self.check_crc(bytecount + 12) class Decoder(srd.Decoder): - api_version = 2 + api_version = 3 id = 'modbus' name = 'Modbus' longname = 'Modbus RTU over RS232/RS485' |