Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4d6cd7b

Browse files
authoredAug 7, 2024··
Update RTC.cpp
Fix forgotten closing brace
1 parent 405e04b commit 4d6cd7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎libraries/RTC/src/RTC.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ bool RTCTime::setUnixTime(time_t time) {
350350
t = localtime(&time);
351351
if (t->tm_year < 100 || t->tm_year > 199) {
352352
return false;
353+
}
353354
setTM(*t);
354355
return true;
355356
}

0 commit comments

Comments
 (0)
Please sign in to comment.