Skip to content

Commit d4760b9

Browse files
committed
fix #7
1 parent eabb74f commit d4760b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "git",
1111
"url": "https://github.com/m5stack/TimerCam-arduino.git"
1212
},
13-
"version": "0.0.2",
13+
"version": "0.0.3",
1414
"frameworks": "arduino",
1515
"platforms": "espressif32"
1616
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Timer-CAM
2-
version=0.0.2
2+
version=0.0.3
33
author=M5Stack
44
maintainer=M5Stack
55
sentence=Library for M5Stack Timer-CAM development kit

src/bmm8563.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void bmm8563_getTime(rtc_date_t* data) {
104104
data->minute = BCD2Byte(time_buf[1] & 0x7f);
105105
data->hour = BCD2Byte(time_buf[2] & 0x3f);
106106
data->day = BCD2Byte(time_buf[3] & 0x3f);
107-
data->month = BCD2Byte(time_buf[5] & 0x0f);
107+
data->month = BCD2Byte(time_buf[5] & 0x1f);
108108
data->year = BCD2Byte(time_buf[6]) + (time_buf[5] & 0x80 ? 1900 : 2000);
109109
}
110110

0 commit comments

Comments
 (0)