From 740a49d4d94a9fd2933c724ca08aae2d946ba6a3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 21 Oct 2018 19:30:32 +0200 Subject: lin: handle_break(): Use self.putx(). --- decoders/lin/pd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'decoders/lin') 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) -- cgit v1.2.3-70-g09d2