fixing button handling to allow both button types simultaneously

Этот коммит содержится в:
JQ
2025-06-19 16:47:31 -07:00
родитель eb5826645e
Коммит ee68401ad0
2 изменённых файлов: 27 добавлений и 11 удалений
+4 -1
Просмотреть файл
@@ -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();