From 8b5adb309583f93116ff3845abab2ee53b30d618 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Sat, 26 Dec 2020 09:44:01 +0100 Subject: [PATCH] fix rtc wakeup HH:MM --- lib/libesp32/CORE2_Library/BM8563_RTC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libesp32/CORE2_Library/BM8563_RTC.cpp b/lib/libesp32/CORE2_Library/BM8563_RTC.cpp index 986ccf897..f17262d29 100755 --- a/lib/libesp32/CORE2_Library/BM8563_RTC.cpp +++ b/lib/libesp32/CORE2_Library/BM8563_RTC.cpp @@ -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);