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 triple-press GPS toggle button changes for select ESP32 devices #2617

Merged
merged 5 commits into from
Jul 17, 2023

Conversation

tropho23
Copy link
Contributor

Added triple-button press to disable GPS power for the below targets:

  1. T3S3 v1: uses pin 42 for trigger
  2. Tlora 2.1-1.6: uses pin 19 for trigger
  3. Heltec v2.1: uses pin 37 for trigger

I have tested all of these changes on real hardware with no issues noted.

We could extend this to older ESP32 devices, but I don't have really old Tlora boards (v1/v2) to test. The above list, plus the existing triple-button press already implemented for T-Beam v1.1 should cover the vast majority of users.

This does not affect RAK boards, where toggling 3v3_S (by shorting IO2 to GND) disables power to ALL modules, not just GPS. I may submit another PR for consideration to address that.

@CLAassistant
Copy link

CLAassistant commented Jul 17, 2023

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2023

🤖 Pull request artifacts

file commit
pr2617-firmware-2.1.19.5ad5271.zip 5ad5271

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jul 17, 2023
@mverch67
Copy link
Collaborator

extensions.json should probably not be included in this commit as it removes trunk extension recommendation.

However I have a similar issue in vscode... it permanently changes extensions.json and add it's own stuff.

Copy link
Contributor

Choose a reason for hiding this comment

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

Lets undo this file's changes. Otherwise, looks good.

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jul 17, 2023
@tropho23
Copy link
Contributor Author

tropho23 commented Jul 17, 2023 via email

@code8buster
Copy link
Contributor

code8buster commented Jul 17, 2023

It has been specifically included by the .gitignore file along with a few other files in that directory, but the rest of .vscode is ignored.
.vscode/
! .vscode/extensions.json

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jul 17, 2023
@thebentern thebentern merged commit 5995c70 into meshtastic:master Jul 17, 2023
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.

5 participants