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

Use the real voltage for power calculation, do not assume min of 15V. #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coldtobi
Copy link

As the input can also be less than 15V, I think the power calculation should use the real voltage, shouldn't it?

@enaut
Copy link

enaut commented Jul 11, 2021

mhm I guess this could hurt the tip or other stuff in case of invalid voltage reading?

@coldtobi
Copy link
Author

mhm I guess this could hurt the tip or other stuff in case of invalid voltage reading?

This PR only fixes the displayed power, it is not connected to the driving logic (IIRC -- it has been a while). If you want power limitation, you'll need #10.

For tip safety, I strongly suggest to have #9.

@enaut
Copy link

enaut commented Jul 12, 2021

Thanks for replying and for the pullrequests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants