esp32_touch_binary_adaptive: fix formatting

This commit is contained in:
olg 2019-06-09 18:48:37 +02:00
parent e11e4eaaee
commit b35f42f6b2

View file

@ -158,12 +158,8 @@ ESP32TouchBinarySensor::ESP32TouchBinarySensor(const std::string &name, touch_pa
: BinarySensor(name), touch_pad_(touch_pad), threshold_(threshold) {}
touch_pad_t ESP32TouchBinarySensor::get_touch_pad() const { return this->touch_pad_; }
uint16_t ESP32TouchBinarySensor::get_threshold() const { return this->threshold_; }
void ESP32TouchBinarySensor::set_threshold(uint16_t threshold) {
this->threshold_ = threshold;
}
uint16_t ESP32TouchBinarySensor::get_value () const {
return this->value_;
}
void ESP32TouchBinarySensor::set_threshold(uint16_t threshold) { this->threshold_ = threshold; }
uint16_t ESP32TouchBinarySensor::get_value() const { return this->value_; }
} // namespace esp32_touch
} // namespace esphome