Skip to content

Commit 5692b4f

Browse files
committed
changed year range check to 2025/2035
1 parent 2556c96 commit 5692b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware/src/core/globaltime/GlobalTime.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ class GlobalTime {
9393
NTPClient *m_timeClient{nullptr};
9494

9595
unsigned long m_updateInterval = 900000; // Update every 15 min
96-
int m_lowYearTest = 2020;
97-
int m_highYearTest = 2030;
96+
const int m_lowYearTest = 2025;
97+
const int m_highYearTest = 2035;
9898
unsigned long m_oneSecond = 1000;
9999
unsigned long m_updateTimer = 0;
100100

0 commit comments

Comments
 (0)