fix rtc wakeup HH:MM

This commit is contained in:
gemu2015 2020-12-26 09:44:01 +01:00
parent 658b596ad4
commit 8b5adb3095
1 changed files with 2 additions and 2 deletions

View File

@ -268,8 +268,8 @@ int BM8563_RTC::SetAlarmIRQ(const RTC_TimeTypeDef &RTC_TimeStruct)
out_buf[1] = ByteToBcd2(RTC_TimeStruct.Hours) & 0x3f;
}
out_buf[2] = 0x00;
out_buf[3] = 0x00;
//out_buf[2] = 0x00;
//out_buf[3] = 0x00;
uint8_t reg_value = ReadReg(0x01);