forked from PaulStoffregen/Time
use const for mkTime input (fixes #85)
This commit is contained in:
@@ -136,7 +136,7 @@ void setSyncInterval(time_t interval); // set the number of seconds between r
|
||||
|
||||
/* low level functions to convert to and from system time */
|
||||
void breakTime(time_t time, tmElements_t &tm); // break time_t into elements
|
||||
time_t makeTime(tmElements_t &tm); // convert time elements into time_t
|
||||
time_t makeTime(const tmElements_t &tm); // convert time elements into time_t
|
||||
|
||||
} // extern "C++"
|
||||
#endif // __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user