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

Move to portduino GPIO, adding user button support #2966

Merged
merged 13 commits into from
Nov 30, 2023
Merged

Conversation

jp-bennett
Copy link
Collaborator

This moves away from using pigpio for hardware support, getting us partway to being able to do away with a raspbian-specific variant. It also adds support for general GPIO like a user button.

Depends on meshtastic/framework-portduino#8

@jp-bennett jp-bennett merged commit 3974383 into master Nov 30, 2023
60 checks passed
@thebentern thebentern deleted the portduino-gpio branch November 30, 2023 03:13
@@ -45,8 +48,14 @@ class ButtonThread : public concurrency::OSThread
// callback returns the period for the next callback invocation (or 0 if we should no longer be called)
ButtonThread() : OSThread("Button")
{
#ifdef BUTTON_PIN
#if defined(ARCH_RASPBERRY_PI) || defined(BUTTON_PIN)
Copy link
Collaborator

@mverch67 mverch67 Dec 12, 2023

Choose a reason for hiding this comment

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

This line looks superfluous, as both conditions are also checked below.

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

4 participants