From 720c897eab414022bcfe1d5d28d6982579e6ce70 Mon Sep 17 00:00:00 2001 From: thyttan <97237430+thyttan@users.noreply.github.com> Date: Wed, 8 May 2024 23:14:06 +0200 Subject: [PATCH] fuzzyw: define f_string As `let` was accidentally left out after the refactor on latest previous commit. To appease the linter and not pollute global scope. --- apps/fuzzyw/fuzzyw.app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/fuzzyw/fuzzyw.app.js b/apps/fuzzyw/fuzzyw.app.js index a03b3521c..ab09470fa 100644 --- a/apps/fuzzyw/fuzzyw.app.js +++ b/apps/fuzzyw/fuzzyw.app.js @@ -59,7 +59,7 @@ let segment = Math.round((date.getMinutes()*60 + date.getSeconds() + 1)/300); let hour = date.getHours() + Math.floor(segment/12); // add "" to load into RAM due to 2v21 firmware .replace on flashstring issue - f_string = ""+fuzzy_string.minutes[segment % 12]; + let f_string = ""+fuzzy_string.minutes[segment % 12]; if (f_string.includes('$1')) { f_string = f_string.replace('$1', fuzzy_string.hours[(hour) % 12]); } else {