Remove unused variable

master
Jim Madge 2025-02-14 17:01:38 +00:00
parent 32e53e6aea
commit fd81d3f217
No known key found for this signature in database
GPG Key ID: 5B629C6D46746CBA
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@
curPos++;
["L2", "L3", "L4", "L5", "L6", "L7", "L8", "L9"].forEach(line => {
if (this[line]==='Date') drawDate(date, this.isoDate, curPos);
if (this[line]==='Date') drawDate(date, curPos);
else if (this[line]==='HR') drawHRM(curPos);
else if (this[line]==='Motion') drawMotion(curPos);
else if (this[line]==='Alt') drawAltitude(curPos);
@ -120,7 +120,7 @@
drawLine(time, pos);
};
let drawDate = function(now, isoDate, pos) {
let drawDate = function(now, pos) {
let date;
if (clock.isoDate) {
let year = now.getFullYear();