We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4870e27 commit 588f9dbCopy full SHA for 588f9db
STM32F1/libraries/RTClock/src/RTClock.h
@@ -76,7 +76,7 @@ class RTClock {
76
time_t TimeZone(time_t t, int TZ) { return ( t + (TZ * SECS_PER_HOUR)); }
77
78
// Usage: 1. localtime = TimeZone(UnixTime, 9, 45) -> UTC +09:45 TimeZone;
79
- time_t TimeZone(time_t t, int HTZ, int MTZ) { return ( t + (HTZ * SECS_PER_HOUR) + (MTZ * 60); } // HTZ = Hour offset, MTZ = Minute offset
+ time_t TimeZone(time_t t, int HTZ, int MTZ) { return ( t + (HTZ * SECS_PER_HOUR) + (MTZ * 60)); } // HTZ = Hour offset, MTZ = Minute offset
80
81
void createAlarm(voidFuncPtr function, time_t alarm_time_t);
82
void createAlarm(voidFuncPtr function, struct tm_t & alarm_tm);
0 commit comments