Remove superfluous static from testcase

This commit is contained in:
olg 2019-06-10 20:34:07 +02:00
parent b35f42f6b2
commit 5a6a111aa8

View file

@ -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());