From 8528e6a08afea1aa96f3ffedcb53ed0f5c39ef58 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Fri, 31 Mar 2023 09:12:58 +0300 Subject: [PATCH] bdk: util: do not edit rtc alarm in power function --- bdk/utils/util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bdk/utils/util.c b/bdk/utils/util.c index e88232a..5f00fe0 100644 --- a/bdk/utils/util.c +++ b/bdk/utils/util.c @@ -263,9 +263,6 @@ void power_set_state(power_state_t state) // De-initialize and power down various hardware. hw_reinit_workaround(false, 0); - // Stop the alarm, in case we injected and powered off too fast. - max77620_rtc_stop_alarm(); - // Set power state. switch (state) {