diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-10-21 19:30:32 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-10-21 19:30:32 +0200 |
commit | 740a49d4d94a9fd2933c724ca08aae2d946ba6a3 (patch) | |
tree | 51af2663fc874732219dca999a70d1e97d27efb0 /decoders/lin/pd.py | |
parent | b1e3616dd1b30c8c298c00728647bb72fc3c2c5a (diff) | |
download | libsigrokdecode-740a49d4d94a9fd2933c724ca08aae2d946ba6a3.tar.gz libsigrokdecode-740a49d4d94a9fd2933c724ca08aae2d946ba6a3.zip |
lin: handle_break(): Use self.putx().
Diffstat (limited to 'decoders/lin/pd.py')
-rw-r--r-- | decoders/lin/pd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoders/lin/pd.py b/decoders/lin/pd.py index e82acf4..ac6ed1f 100644 --- a/decoders/lin/pd.py +++ b/decoders/lin/pd.py @@ -123,8 +123,7 @@ class Decoder(srd.Decoder): self.fsm.reset() self.fsm.transit(LinFsm.State.Sync) - data = [1, ['Break condition', 'Break', 'Brk', 'B']] - self.put(self.ss_block, self.es_block, self.out_ann, data) + self.putx([1, ['Break condition', 'Break', 'Brk', 'B']]) def handle_sync(self, value): self.fsm.transit(LinFsm.State.Pid) |