From 44ef05891e79e57a2c217fd9bccbcd12ba3cb6a4 Mon Sep 17 00:00:00 2001 From: noobejby Date: Fri, 8 Nov 2024 16:40:05 +0100 Subject: [PATCH] removed unused values --- apps/bttfclock/app.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/bttfclock/app.js b/apps/bttfclock/app.js index 6132adde5..a23e06edf 100644 --- a/apps/bttfclock/app.js +++ b/apps/bttfclock/app.js @@ -3,9 +3,6 @@ require("Font7x11Numeric7Seg").add(Graphics); require("Font5x7Numeric7Seg").add(Graphics); require("Font4x5").add(Graphics); - -const width = g.getWidth(); -const height = g.getHeight(); const timeTextY = 4; const timeDataY = timeTextY+19; const DateTextY = 48; @@ -120,7 +117,7 @@ function draw(){ drawGoal(); var date = new Date(); var h = date.getHours(), m = date.getMinutes(), s = date.getSeconds(); - var d = date.getDate(), w = date.getDay(), y = date.getFullYear(); + var d = date.getDate(), y = date.getFullYear();//, w = date.getDay(); if (h<10) { h = ("0"+h).substr(-2);