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

enable pd comms #185

Merged
merged 3 commits into from
Aug 20, 2024
Merged

enable pd comms #185

merged 3 commits into from
Aug 20, 2024

Conversation

ChrisDick
Copy link
Contributor

enable pd comms to add pd supply capabilities to power.SupplyCapabilities(), restrict the maximum voltage requested to 5V due to hardware limits and cap current request to max input current.

enable pd comms to add pd supply capabilities to power.SupplyCapabilities(), limit the maximum voltage requested to 5V and cap current request to max input current.
@ChrisDick ChrisDick requested a review from kliment August 19, 2024 16:51
@ChrisDick
Copy link
Contributor Author

I've altered the request to always use the first item in the list as this is guaranteed by the standard to be 5V with the highest current the supply can deliver at 5V.

@ChrisDick ChrisDick merged commit aa8f510 into main Aug 20, 2024
3 checks passed
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.

None yet

3 participants