Этот коммит содержится в:
JQ
2025-05-30 22:26:29 -07:00
родитель c445bbeaf2
Коммит f69efaf027
-3
Просмотреть файл
@@ -13,9 +13,6 @@ Button::Button(uint8_t pin, bool activeState, bool isAnalog, uint16_t analogThre
}
void Button::begin() {
if (!_isAnalog) {
pinMode(_pin, INPUT_PULLUP);
}
_currentState = readButton();
_lastState = _currentState;
}