Skip to content
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

Function "getBusMicroWatts" limited to +/- 2147 Watts #56

Closed
SV-Zanshin opened this issue May 5, 2020 · 0 comments
Closed

Function "getBusMicroWatts" limited to +/- 2147 Watts #56

SV-Zanshin opened this issue May 5, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SV-Zanshin
Copy link
Collaborator

The return datatype for this function is a 32-bit integer in microWatts; hence the limitation. Changing the return datatype to a 64-bit integer will allow sufficient Watts to be returned by the function.

This was raised in issue #54, but that issue was closed without resolving this problem, hence the new issue for tracking purposes.

@SV-Zanshin SV-Zanshin added the enhancement New feature or request label May 5, 2020
@SV-Zanshin SV-Zanshin self-assigned this May 5, 2020
SV-Zanshin pushed a commit that referenced this issue May 5, 2020
Changed return datatype from int32 to int64 to allow larger range of measured Watts
@SV-Zanshin SV-Zanshin mentioned this issue Jun 30, 2020
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant