From: Uwe Hermann Date: Sun, 21 Oct 2018 17:30:32 +0000 (+0200) Subject: lin: handle_break(): Use self.putx(). X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=740a49d4d94a9fd2933c724ca08aae2d946ba6a3;p=libsigrokdecode.git lin: handle_break(): Use self.putx(). --- 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)