1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00

Merge branch 'mpr121_debounce_thresholds' of https://github.com/mvturnho/esphome into mpr121_debounce_thresholds

This commit is contained in:
Michiel van Turnhout 2019-05-27 11:04:43 +02:00
commit db13dd10fa

View File

@ -57,7 +57,7 @@ class MPR121Channel : public binary_sensor::BinarySensor {
protected:
uint8_t channel_{0};
uint8_t touch_threshold_{DEFAULT_TOUCH_THRESHOLD};
optional<uint8_t> touch_threshold_{};
uint8_t release_threshold_{DEFAULT_RELEASE_THRESHOLD};
};