From 07d74ee692206930c39d87e9f679236dd18ba730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Kristan?= Date: Wed, 7 Jul 2021 10:18:00 +0200 Subject: [PATCH] Default button pin allocation on 1st boot. --- wled00/cfg.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wled00/cfg.cpp b/wled00/cfg.cpp index 36f7169c..4d6c2329 100644 --- a/wled00/cfg.cpp +++ b/wled00/cfg.cpp @@ -169,14 +169,17 @@ bool deserializeConfig(JsonObject doc, bool fromFS) { } } else { // new install/missing configuration (button 0 has defaults) - if (fromFS) - for (uint8_t s=1; s