kernel/trigger: hw post-samples is "sw post-samples - 1"
The hardware acquires pre-samples + the-sample + post-samples while
software uses pre+post (the first "post" is the trigger event.
This had no visible effects as hw just acquired one sample more, but
maybe we'd have error in pathological cases (e.g, a full-ram
acquisition).
This commit also makes trivial unrelated changes in the same code
snippet.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment