mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
bdk: util: do not edit rtc alarm in power function
This commit is contained in:
parent
27ae312227
commit
8528e6a08a
1 changed files with 0 additions and 3 deletions
|
@ -263,9 +263,6 @@ void power_set_state(power_state_t state)
|
||||||
// De-initialize and power down various hardware.
|
// De-initialize and power down various hardware.
|
||||||
hw_reinit_workaround(false, 0);
|
hw_reinit_workaround(false, 0);
|
||||||
|
|
||||||
// Stop the alarm, in case we injected and powered off too fast.
|
|
||||||
max77620_rtc_stop_alarm();
|
|
||||||
|
|
||||||
// Set power state.
|
// Set power state.
|
||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue