Skip to content

Commit

Permalink
Update RTC_RX8025T.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinsaj authored Aug 6, 2023
1 parent 9bc90de commit 726cbc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RTC_RX8025T.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------*
* RTC_RX8025T.cpp - Arduino library for the Seiko Epson RX8025T *
* RTC_RX8025T.cpp - Arduino library for the Seiko Epson RX8025T *
* Real Time Clock. This library is intended for use with the Arduino *
* TimeLib.h library, http://www.arduino.cc/playground/Code/Time *
* *
Expand Down Expand Up @@ -82,7 +82,7 @@ time_t RX8025T::get()
tmElements_t tm;

if ( read(tm) ) return 0;
return( makeTime(tm) );
return(makeTime(tm));
}

/*----------------------------------------------------------------------*
Expand All @@ -95,7 +95,7 @@ uint8_t RX8025T::set(time_t t)
tmElements_t tm;

breakTime(t, tm);
return ( write(tm) );
return (write(tm));
}

/*----------------------------------------------------------------------*
Expand Down Expand Up @@ -161,7 +161,7 @@ uint8_t RX8025T::writeRTC(uint8_t addr, uint8_t *values, uint8_t nBytes)
*----------------------------------------------------------------------*/
uint8_t RX8025T::writeRTC(uint8_t addr, uint8_t value)
{
return ( writeRTC(addr, &value, 1) );
return (writeRTC(addr, &value, 1));
}

/*----------------------------------------------------------------------*
Expand Down

0 comments on commit 726cbc6

Please sign in to comment.