diff --git a/src/HomeSpan.h b/src/HomeSpan.h index 9111fc0..3bac4d5 100644 --- a/src/HomeSpan.h +++ b/src/HomeSpan.h @@ -716,6 +716,8 @@ class SpanButton : PushButton { #if SOC_TOUCH_SENSOR_NUM > 0 static constexpr triggerType_t TRIGGER_ON_TOUCH=PushButton::TRIGGER_ON_TOUCH; + static void setTouchCycles(uint16_t measureTime, uint16_t sleepTime){PushButton::setTouchCycles(measureTime,sleepTime);} + static void setTouchThreshold(touch_value_t thresh){PushButton::setTouchThreshold(thresh);} #endif SpanButton(int pin, uint16_t longTime=2000, uint16_t singleTime=5, uint16_t doubleTime=200, triggerType_t triggerType=TRIGGER_ON_LOW);