1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +00:00

bootloader: remove rtc stop alarm from auto hos powerr off

It's done in power_set_state anyway.
This commit is contained in:
CTCaer 2022-10-11 06:59:39 +03:00
parent 0a9c71d5d6
commit 6739f03893

View file

@ -98,9 +98,6 @@ void check_power_off_from_hos()
u8 hosWakeup = i2c_recv_byte(I2C_5, MAX77620_I2C_ADDR, MAX77620_REG_IRQTOP);
if (hosWakeup & MAX77620_IRQ_TOP_RTC_MASK)
{
// Stop the alarm, in case we injected too fast.
max77620_rtc_stop_alarm();
if (h_cfg.autohosoff == 1)
{
render_default_bootlogo();