diff --git a/server/scripts/modules/weatherdisplay.mjs b/server/scripts/modules/weatherdisplay.mjs index 247d5d0..553c590 100644 --- a/server/scripts/modules/weatherdisplay.mjs +++ b/server/scripts/modules/weatherdisplay.mjs @@ -169,7 +169,7 @@ class WeatherDisplay { // auto clock refresh if (!this.dateTimeInterval) { // only draw if canvas is active to conserve battery - setInterval(() => this.active && this.drawCurrentDateTime(), 100); + this.dateTimeInterval = setInterval(() => this.active && this.drawCurrentDateTime(), 100); } } }