Files
firmware/src
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
..
2023-01-21 21:23:24 +01:00
2024-04-08 17:26:23 -05:00
2024-04-04 17:04:10 +13:00
2023-07-14 16:25:20 -05:00
2023-01-21 21:23:24 +01:00
2023-02-05 00:11:00 +01:00
2023-08-03 10:05:38 +02:00
2023-06-01 07:14:55 -05:00
2023-08-03 10:05:38 +02:00
2024-01-12 02:00:31 -06:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2023-08-03 10:05:38 +02:00
2024-03-12 16:42:21 -05:00
2024-04-02 14:55:48 -05:00
2022-12-29 20:41:37 -06:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2023-01-21 21:23:24 +01:00
2023-08-03 10:05:38 +02:00
2023-06-01 07:14:55 -05:00