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;
}
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;
}