From f968a83ff8358e0e1bca35229c650c76bf8f5aa4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 29 Oct 2020 12:55:40 +0100 Subject: Correctly report sample rate when using --skip or --limit --- bin/msp430-etv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/msp430-etv b/bin/msp430-etv index 5116855..138c570 100755 --- a/bin/msp430-etv +++ b/bin/msp430-etv @@ -361,7 +361,7 @@ def main(): print( "{:d} measurements in {:.2f} s = {:.0f} Hz sample rate".format( - data_count, m_duration_us * 1e-6, data_count / (m_duration_us * 1e-6) + len(data), m_duration_us * 1e-6, len(data) / (m_duration_us * 1e-6) ) ) -- cgit v1.2.3