-
Notifications
You must be signed in to change notification settings - Fork 295
Open
Description
DS1302RTC.cpp need to be corrected as follows
// PUBLIC FUNCTIONS
// --------------------------------------------------------
// Read the current time from the RTC and return it as a
// time_t value. Returns a zero value if an bus error occurred
// (e.g. RTC not present).
time_t DS1302RTC::get()
{
tmElements_t tm;
if (read(tm) == false) return 0;
return(makeTime(tm));
}
Metadata
Metadata
Assignees
Labels
No labels