Merge pull request #1602 from martinling/mb-unit

Correct units in hackrf_transfer output from MiB to MB
This commit is contained in:
Michael Ossmann
2025-11-06 11:07:05 -05:00
committed by GitHub

View File

@@ -1403,7 +1403,7 @@ int main(int argc, char** argv)
(byte_count_now * 127 * 127);
double dB_full_scale = 10 * log10(full_scale_ratio) + 3.0;
fprintf(stderr,
"%4.1f MiB / %5.3f sec = %4.1f MiB/second, average power %3.1f dBfs",
"%4.1f MB / %5.3f sec = %4.1f MB/second, average power %3.1f dBfs",
(byte_count_now / 1e6f),
time_difference,
(rate / 1e6f),