From a053e81797fb87245848b10842a0a1951ed92130 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Sun, 24 Apr 2022 19:47:55 +0200 Subject: [PATCH] Minor fixes. --- wled00/data/index.js | 2 +- wled00/presets.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index d6a3b5f4..40797205 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -2275,7 +2275,7 @@ function loadPalettesData(callback = null) p: palettesData, vid: lastinfo.vid })); - redrawPalPrev() + redrawPalPrev(); if (callback) setTimeout(callback, 99); }); } diff --git a/wled00/presets.cpp b/wled00/presets.cpp index e5e2a2b6..a8db3bb0 100644 --- a/wled00/presets.cpp +++ b/wled00/presets.cpp @@ -75,8 +75,8 @@ void handlePresets(bool force) //HTTP API commands const char* httpwin = fdo["win"]; if (httpwin) { - String apireq = "win"; apireq += '&'; // reduce flash string usage - apireq += F("IN&"); // interenal call + String apireq = "win"; // reduce flash string usage + apireq += F("&IN&"); // internal call apireq += httpwin; handleSet(nullptr, apireq, false); setValuesFromFirstSelectedSeg(); // fills legacy values