From c925b3d2180e78b63de5e0a7afcde200ae2a64a2 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Wed, 19 May 2021 22:32:50 +0200 Subject: [PATCH] Setting touch threshold string fix. --- wled00/cfg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/cfg.cpp b/wled00/cfg.cpp index 2d067b7ea..437918ff4 100644 --- a/wled00/cfg.cpp +++ b/wled00/cfg.cpp @@ -570,7 +570,7 @@ void serializeConfig() { hw_btn_ins_0_macros.add(macroLongPress[i]); hw_btn_ins_0_macros.add(macroDoublePress[i]); } - hw_btn[F("touch-threshold")] = touchThreshold; + hw_btn[F("tt")] = touchThreshold; JsonObject hw_ir = hw.createNestedObject("ir"); hw_ir["pin"] = irPin;