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

Update esphome/components/mpr121/mpr121.h

Co-Authored-By: Otto Winter <otto@otto-winter.com>
This commit is contained in:
Michiel van Turnhout 2019-05-27 11:03:49 +02:00 committed by GitHub
parent 04c16adcc4
commit 1c9ba21a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,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};
};