mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
set time out for release
This commit is contained in:
parent
194f0168b2
commit
9e3a4333f4
2 changed files with 4 additions and 4 deletions
|
@ -53,9 +53,9 @@ void ICNT86Touchscreen::update_touches() {
|
|||
UWORD y = ((UWORD) buf[4 + 7 * i] << 8) + buf[3 + 7 * i];
|
||||
UWORD p = buf[5 + 7 * i];
|
||||
UWORD touch_evenid = buf[6 + 7 * i];
|
||||
ESP_LOGD(TAG, "Touch x: %d, y: %d, p: %d", x, y, p);
|
||||
|
||||
this->add_raw_touch_position_(touch_evenid, x, y, p);
|
||||
if (this->touches_.count(touch_evenid) == 0 || (x != this->touches_[touch_evenid].x_prev && y != this->touches_[touch_evenid].y_prev)) {
|
||||
this->add_raw_touch_position_(touch_evenid, x, y, p);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ ICNT86Touchscreen = icnt86_ns.class_(
|
|||
CONF_ICNT86_ID = "icnt86_id"
|
||||
CONF_RTS_PIN = "rts_pin"
|
||||
|
||||
CONFIG_SCHEMA = touchscreen.TOUCHSCREEN_SCHEMA.extend(
|
||||
CONFIG_SCHEMA = touchscreen.touchscreen_schema('250ms').extend(
|
||||
cv.Schema(
|
||||
{
|
||||
cv.GenerateID(): cv.declare_id(ICNT86Touchscreen),
|
||||
|
|
Loading…
Reference in a new issue