From 49faae79b40e0e851871c9a0316a7bfd55a469c9 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.comā©> Date: Sat, 4 Jan 2025 00:14:23 +0100 Subject: [PATCH] doztime: Bangle 1 - fix lint warns --- apps/doztime/app-bangle1.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/doztime/app-bangle1.js b/apps/doztime/app-bangle1.js index a2a8665cce..b9681ad916 100644 --- a/apps/doztime/app-bangle1.js +++ b/apps/doztime/app-bangle1.js @@ -28,6 +28,7 @@ let addTimeDigit = false; let dateFormat = false; let lastX = 999999999; let res = {}; +let calenDef; //var last_time_log = 0; var drawtime_timeout; @@ -60,7 +61,7 @@ g.flip = function() setWatch(function(){ modeTime(); }, BTN1, {repeat:true} ); setWatch(function(){ Bangle.showLauncher(); }, BTN2, { repeat: false, edge: "falling" }); -setWatch(function(){ modeWeather(); }, BTN3, {repeat:true}); +//setWatch(function(){ modeWeather(); }, BTN3, {repeat:true}); // TODO: `modeWeather` is not yet implemented. setWatch(function(){ toggleTimeDigits(); }, BTN4, {repeat:true}); setWatch(function(){ toggleDateFormat(); }, BTN5, {repeat:true}); @@ -122,7 +123,7 @@ function formatDate(res,dateFormat){ } function writeDozTime(text,def){ - let pts = def.pts; + //let pts = def.pts; let x=def.pt0[0]; let y=def.pt0[1]; g_t.clear(); @@ -138,7 +139,7 @@ function writeDozTime(text,def){ function writeDozDate(text,def,colour){ dateColour = colour; - let pts = def.pts; + //let pts = def.pts; let x=def.pt0[0]; let y=def.pt0[1]; g_d.clear();