]> sigrok.org Git - libsigrokdecode.git/commit
ir_nec: Add option for automatic polarity detection
authorBenediktO <redacted>
Mon, 27 Jul 2020 06:32:30 +0000 (08:32 +0200)
committerGerhard Sittig <redacted>
Sun, 30 Aug 2020 08:24:20 +0000 (10:24 +0200)
commit302266c00577e9ebb11b91fd000ac397271b4662
tree5c3d6ef18d594cb395f72bd75fae169de364a7a6
parentf9818294d09ba8b7dd3614357ce185f79c8c45a1
ir_nec: Add option for automatic polarity detection

Provide an option to have the decoder automatically detect the IR signal's
polarity. Stick with active-low by default for backwards compatibility,
because this auto-detect implementation assumes that the capture starts
with an idle phase.

[ gsi: rephrased message and implementation, auto-detect off by default ]
decoders/ir_nec/pd.py