]> sigrok.org Git - libsigrok.git/commit - src/output/ascii.c
output/ascii: Also print trigger marker for "short" data lines
authorv1ne <redacted>
Wed, 1 Apr 2020 20:14:39 +0000 (22:14 +0200)
committerGerhard Sittig <redacted>
Fri, 31 Jul 2020 08:30:22 +0000 (10:30 +0200)
commitcc835205cdc372de86b233afe3d826371a028901
treedcaea6a31a232194ac57f390de16db39387b70ef
parent3b93d3c24bb21d1619d7098d7a87706a0bcf474a
output/ascii: Also print trigger marker for "short" data lines

The trigger position would be missing in the output text when the number of
available samples is less than the configured text line length. Do flush the
trigger marker for the last chunk of accumulated samples, too.

How to reproduce:

  $ sigrok-cli -d ... --samples 32 -O ascii:width=128

[ gsi: rephrased commit message ]
src/output/ascii.c