mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
Remove superfluous static from testcase
This commit is contained in:
parent
b35f42f6b2
commit
5a6a111aa8
@ -1122,7 +1122,7 @@ interval:
|
||||
- interval: 2s
|
||||
then:
|
||||
- lambda: |-
|
||||
static uint16_t btn_left_state = id(btn_left)->get_value();
|
||||
uint16_t btn_left_state = id(btn_left)->get_value();
|
||||
|
||||
ESP_LOGD("adaptive touch", "___ Touch Pad '%s' (T%u): val: %u state: %u tres:%u", id(btn_left)->get_name().c_str(), id(btn_left)->get_touch_pad(), id(btn_left)->get_value(), btn_left_state, id(btn_left)->get_threshold());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user