fixing button handling to allow both button types simultaneously

This commit is contained in:
JQ
2025-06-19 16:47:31 -07:00
parent eb5826645e
commit ee68401ad0
2 changed files with 27 additions and 11 deletions

View File

@@ -40,9 +40,12 @@ class UITask {
unsigned long ui_started_at;
// Button handlers
#if defined(PIN_USER_BTN) || defined(PIN_USER_BTN_ANA)
#ifdef PIN_USER_BTN
Button* _userButton = nullptr;
#endif
#ifdef PIN_USER_BTN_ANA
Button* _userButtonAnalog = nullptr;
#endif
void renderCurrScreen();
void userLedHandler();