From: Gerhard Sittig Date: Mon, 20 Jul 2020 20:21:30 +0000 (+0200) Subject: ir_sirc: fixup decoder boilerplate X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=c449c5832bb560ca543b9d6c962c405d1a227312;hp=c449c5832bb560ca543b9d6c962c405d1a227312;p=libsigrokdecode.git ir_sirc: fixup decoder boilerplate The SIRC decoder was written to an older API, and failed to load in a recent environment (tag missing, ambiguous annotation names). Unbreak the decoder's boilerplate, and address other nits while we are here: There is no Python output. Use the same declaration syntax as in other decoders for improved maintenance (greppability). Call reset() from __init__() to avoid surprises when a future version does have vars. Do provide a doc string in the module initialization, to keep the URL for the protocol description at hand. ---