mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-23 02:16:41 +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:
parent
0a9c71d5d6
commit
6739f03893
1 changed files with 2 additions and 5 deletions
|
@ -98,9 +98,6 @@ void check_power_off_from_hos()
|
||||||
u8 hosWakeup = i2c_recv_byte(I2C_5, MAX77620_I2C_ADDR, MAX77620_REG_IRQTOP);
|
u8 hosWakeup = i2c_recv_byte(I2C_5, MAX77620_I2C_ADDR, MAX77620_REG_IRQTOP);
|
||||||
if (hosWakeup & MAX77620_IRQ_TOP_RTC_MASK)
|
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)
|
if (h_cfg.autohosoff == 1)
|
||||||
{
|
{
|
||||||
render_default_bootlogo();
|
render_default_bootlogo();
|
||||||
|
|
Loading…
Reference in a new issue