File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
"type" : " git" ,
11
11
"url" : " https://github.com/m5stack/TimerCam-arduino.git"
12
12
},
13
- "version" : " 0.0.2 " ,
13
+ "version" : " 0.0.3 " ,
14
14
"frameworks" : " arduino" ,
15
15
"platforms" : " espressif32"
16
16
}
Original file line number Diff line number Diff line change 1
1
name =Timer-CAM
2
- version =0.0.2
2
+ version =0.0.3
3
3
author =M5Stack
4
4
maintainer =M5Stack
5
5
sentence =Library for M5Stack Timer-CAM development kit
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ void bmm8563_getTime(rtc_date_t* data) {
104
104
data -> minute = BCD2Byte (time_buf [1 ] & 0x7f );
105
105
data -> hour = BCD2Byte (time_buf [2 ] & 0x3f );
106
106
data -> day = BCD2Byte (time_buf [3 ] & 0x3f );
107
- data -> month = BCD2Byte (time_buf [5 ] & 0x0f );
107
+ data -> month = BCD2Byte (time_buf [5 ] & 0x1f );
108
108
data -> year = BCD2Byte (time_buf [6 ]) + (time_buf [5 ] & 0x80 ? 1900 : 2000 );
109
109
}
110
110
You can’t perform that action at this time.
0 commit comments