Skip to content

Commit de6eeb1

Browse files
committed
cleanup
1 parent 033ae7c commit de6eeb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

RTClib.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
////////////////////////////////////////////////////////////////////////////////
1717
// utility code, some of this could be exposed in the DateTime API if needed
1818

19-
static const uint8_t daysInMonth [] PROGMEM = { 31,28,31,30,31,30,31,31,30,31,30,31 };
19+
static const uint8_t daysInMonth [] PROGMEM = {
20+
31,28,31,30,31,30,31,31,30,31,30,31
21+
};
2022

2123
// number of days since 2000/01/01, valid for 2001..2099
2224
static uint16_t date2days(uint16_t y, uint8_t m, uint8_t d) {

0 commit comments

Comments
 (0)