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

PPS above 11V exits after 5 seconds of triggering #4

Closed
sakura-ushio opened this issue Aug 16, 2021 · 2 comments
Closed

PPS above 11V exits after 5 seconds of triggering #4

sakura-ushio opened this issue Aug 16, 2021 · 2 comments

Comments

@sakura-ushio
Copy link

My charger supports 5-20V 5A PPS, but it will exit PPS 5 seconds after triggering PPS above 11v. Why?

@ryan-ma
Copy link
Owner

ryan-ma commented Aug 24, 2021

Hi, I just realize a bug that may related to your problem.
The power_data_obj[] array in PD_protocol_t should be size of 7 instead of 6, which will cause power negotiation fail or even crash if number of PDO is more than 6.
I pushed the fix. See if this can solve your issue.

@sakura-ushio
Copy link
Author

Now the PPS above 11V works perfectly.

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

No branches or pull requests

2 participants