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

Added VPDO option for disabling PPS/EPR PDOs. #1582

Merged
merged 5 commits into from
Feb 20, 2023
Merged

Conversation

Samuelrmlink
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • [*] The changes have been tested locally
  • [] There are no breaking changes
  • What kind of change does this PR introduce?

Added "PD VPDO Enabled" option to the Power settings menu.
This option allows the user to disable PPS/EPR PDOs and just use the best Fixed PDO available.

  • What is the current behavior?

Pinecil chooses whatever appears to be the best PDO available.
(Maximum power without overloading the supply)

  • What is the new behavior (if this is a feature change)?
    Behavior remains the same - unless the "PD VPDO Enabled" option is unticked in the Power settings.

  • Other information:

@Samuelrmlink
Copy link
Contributor Author

I should have tried compiling with all languages first before creating this PR...

@Ralim
Copy link
Owner

Ralim commented Feb 19, 2023

I'm all for this idea.

Also note you will need to also add a new entry to

#define BT_UUID_CHAR_BLE_SETTINGS_VALUE_37 BT_UUID_DECLARE_16(37)
to extend it to being exposed over BLE.

But once build passes; looks fine by me otherwise.

@Ralim
Copy link
Owner

Ralim commented Feb 19, 2023

Hmm, dont think those TS80P build failures may be your fault; if you dont have time to debug them I'll look into them later on

TS80P build failed Github checks.
@Samuelrmlink
Copy link
Contributor Author

Oh - Looks like I forgot to actually create the BLE characteristic.

@Samuelrmlink
Copy link
Contributor Author

Okay - that should do it.
I don't (yet) have a PinecilV2 to test it though.

@Samuelrmlink
Copy link
Contributor Author

This should be ready to merge provided everything looks good.

@Ralim Ralim merged commit f29ec5c into Ralim:dev Feb 20, 2023
@Samuelrmlink Samuelrmlink deleted the PPSctrl branch February 20, 2023 03:22
Samuelrmlink added a commit to Samuelrmlink/IronOS that referenced this pull request Feb 20, 2023
Merge pull request Ralim#1582 from Samuelrmlink/PPSctrl
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