todd-herbert 8e29efcb50 Fix button interrupt after light sleep (#3587)
* Make ButtonThread instance extern
Previously was a static local instance in setup(). Now declared in ButtonThread.cpp, accessible via extern declaration in ButtonThread.

* Extract attachInterrupt() calls to public method; create matching method for detachInterrupt()

* Change suspension of button interrupts for light-sleep

* Fix declaration for ARCH_PORTDUINO

* Remove LOG_DEBUG used during testing

* Don't assume device has a button..

* Guard entire constructor code

* Don't use BUTTON_PIN with ARCH_PORTDUINO

---------

Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>
2024-04-11 07:02:50 -05:00
2024-04-09 12:26:03 -05:00
2024-03-07 15:52:08 -06:00
2024-03-07 15:51:28 -06:00
2021-10-09 17:15:12 +11:00
2024-04-05 14:58:00 +01:00
2023-01-21 21:23:24 +01:00
2024-03-06 16:23:04 -06:00
2022-11-26 16:03:17 +01:00
2022-11-20 16:14:32 +01:00
2023-01-21 21:23:24 +01:00
2024-03-18 15:42:44 -05:00
2023-10-09 22:30:02 +10:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt

Description
This repository contains the official firmware for Meshtastic, an open-source, off-grid mesh communication system.
Readme 53 MiB
Languages
C++ 67.3%
C 30.6%
Python 1%
Batchfile 0.4%
Shell 0.4%
Other 0.2%