Skip to content

Commit

Permalink
dox2
Browse files Browse the repository at this point in the history
  • Loading branch information
caternuson committed Oct 28, 2021
1 parent 0d05d5b commit 3dff7be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RTClib.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ class RTC_DS3231 : RTC_I2C {
storing in the DS3231: from 1 (Monday) to 7 (Sunday).
@param d Day of the week as represented by the library:
from 0 (Sunday) to 6 (Saturday).
@return the converted value
*/
static uint8_t dowToDS3231(uint8_t d) { return d == 0 ? 7 : d; }
};
Expand Down

0 comments on commit 3dff7be

Please sign in to comment.