mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
Merge pull request #211 from neutralinsomniac/fix-day-one-compile-warning
fix compile warning in day one face
This commit is contained in:
commit
0e2c179e15
|
@ -33,7 +33,7 @@ static uint32_t _day_one_face_juliandaynum(uint16_t year, uint16_t month, uint16
|
|||
}
|
||||
|
||||
static void _day_one_face_update(day_one_state_t state) {
|
||||
char buf[14];
|
||||
char buf[15];
|
||||
watch_date_time date_time = watch_rtc_get_date_time();
|
||||
uint32_t julian_date = _day_one_face_juliandaynum(date_time.unit.year + WATCH_RTC_REFERENCE_YEAR, date_time.unit.month, date_time.unit.day);
|
||||
uint32_t julian_birthdate = _day_one_face_juliandaynum(state.birth_year, state.birth_month, state.birth_day);
|
||||
|
|
Loading…
Reference in a new issue