-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MiB wrong conversion in hackrf_transfer.c #1425
Labels
Comments
Good point! I think we should just change it to correctly identify the unit as MB, since that keeps the clear relationship where e.g. 10Msps sampling rate results in a 20MB/s transfer rate. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What type of issue is this?
permanent - occurring repeatedly
What issue are you facing?
MiB unit is (2^10)^2 and you divide by 10^6 (byte_count_now / 1e6f) so actually you have unit MB not MiB.
There are two solutions:
What are the steps to reproduce this?
just to run hackrf_transfer software.
Can you provide any logs? (output, errors, etc.)
not necessary
The text was updated successfully, but these errors were encountered: