diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-29 12:55:40 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-29 12:55:40 +0100 |
commit | f968a83ff8358e0e1bca35229c650c76bf8f5aa4 (patch) | |
tree | 3fefdb2641ae0f42c504ccdb18323428475b54a0 /bin | |
parent | 05cd19da95c0a132074feddcaf388ee3efd2f8b4 (diff) |
Correctly report sample rate when using --skip or --limit
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/msp430-etv | 2 |
1 files changed, 1 insertions, 1 deletions
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) ) ) |