Skip to content

Commit 6a90d5a

Browse files
3.20.1
- Bug fix
1 parent 21377c7 commit 6a90d5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

timecircuits-A10001986/clockdisplay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ void clockDisplay::setMinute(int minNum)
485485

486486
void clockDisplay::setYearOffset(int16_t yearOffs)
487487
{
488-
if(_did = DISP_PRES) {
488+
if(_did == DISP_PRES) {
489489
_yearoffset = yearOffs;
490490
#ifdef TC_DBG_TIME
491491
Serial.printf("ClockDisplay: _yearoffset set to %d\n", yearOffs);

timecircuits-A10001986/tc_global.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
// '0'-'9', 'A'-'Z', '(', ')', '.', '_', '-' or space
2828
#define TC_VERSION_REV "V3.20" // 7 chars max. Do NOT change format.
2929
#ifndef IS_ACAR_DISPLAY
30-
#define TC_VERSION_EXTRA "FEB152026" // 13 chars max
30+
#define TC_VERSION_EXTRA "MAR042026" // 13 chars max
3131
#else // A-Car
32-
#define TC_VERSION_EXTRA "02152025" // 12 chars max
32+
#define TC_VERSION_EXTRA "03042026" // 12 chars max
3333
#endif
3434

3535
/*************************************************************************

timecircuits-A10001986/tc_settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ static bool saveClockData(bool force)
18831883

18841884
bool saveClockDataDL(bool force, uint8_t did, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute)
18851885
{
1886-
dateStruct *myDate = (did = DISP_DEST) ? &clockData.dDate : &clockData.lDate;
1886+
dateStruct *myDate = (did == DISP_DEST) ? &clockData.dDate : &clockData.lDate;
18871887
myDate->year = year;
18881888
myDate->month = month;
18891889
myDate->day = day;

0 commit comments

Comments
 (0)