]> sigrok.org Git - libsigrokdecode.git/commit
instance.c: fix a 'matched' vs 'matches' typo
authorGerhard Sittig <redacted>
Sun, 26 Feb 2017 08:16:36 +0000 (09:16 +0100)
committerGerhard Sittig <redacted>
Sun, 26 Feb 2017 09:08:15 +0000 (10:08 +0100)
commite27d3e67cb69d54936399cd97a4c40c9842549a7
tree26596e8c8fd07b8429e66a16bb08c7a5b8de415d
parenta92df5bab879d5ba6a3f9d01428867c57d8c6b67
instance.c: fix a 'matched' vs 'matches' typo

The Decoder_wait() routine will populate the .matched attribute before
returning to the caller. The srd_inst_start() routine used to setup a
.matches attribute which is unexpected. Make both routines consistently
assign to 'matched' as that is what Python decoder implementations are
referencing.
instance.c