Skip to content

Be smarter about heltec power rail shared btw GPS and screen (for #4154)#4211

Closed
geeksville wants to merge 5 commits into
meshtastic:masterfrom
geeksville:pr-gpiologic
Closed

Be smarter about heltec power rail shared btw GPS and screen (for #4154)#4211
geeksville wants to merge 5 commits into
meshtastic:masterfrom
geeksville:pr-gpiologic

Conversation

@geeksville

@geeksville geeksville commented Jun 30, 2024

Copy link
Copy Markdown
Member

This change will be used for power stress testing (for the LED current draw sanity test/board autocalibration) but it is mainly to (eventually) improve heltec tracker power consumption.

In the common case it should be almost 100% inlined.

…s...

Which is currently only tested with the LED but eventually
will be used for shared GPIO/screen power rail enable
and LED forcing (which is a sanity check in the power stress
testing)
@geeksville geeksville marked this pull request as ready for review July 3, 2024 18:18
@geeksville geeksville requested a review from todd-herbert July 3, 2024 18:19
@geeksville geeksville marked this pull request as draft July 3, 2024 18:39
@geeksville geeksville marked this pull request as ready for review July 3, 2024 22:34

@todd-herbert todd-herbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calls like ledBlink.set(bool) seem really tidy! What it's doing under-the-hood is definitely making my brain melt a little, but that's a "my brain" comment, not a code comment!

@geeksville

Copy link
Copy Markdown
Member Author

Hi @todd-herbert I just merged in the latest master. Look okay to merge? (if these CI builds succeed ;-))

@geeksville geeksville marked this pull request as draft August 4, 2024 15:50
@geeksville

Copy link
Copy Markdown
Member Author

already included in the later PR #4230 that builds upon this.

@geeksville geeksville closed this Aug 4, 2024
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