From 5a6a111aa8351a9719714d2ce7b9ae1d40505235 Mon Sep 17 00:00:00 2001 From: olg Date: Mon, 10 Jun 2019 20:34:07 +0200 Subject: [PATCH] Remove superfluous static from testcase --- tests/test1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test1.yaml b/tests/test1.yaml index 7708281109..ecda4bece2 100644 --- a/tests/test1.yaml +++ b/tests/test1.yaml @@ -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());