From 806d7379b2a46bbfbb86a1cb3741ea0e8ef3411d Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 23 Jul 2023 19:59:13 +0200 Subject: [PATCH] Fix power svc double record open --- applications/services/power/power_service/power.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/applications/services/power/power_service/power.c b/applications/services/power/power_service/power.c index 480051d30..dd49c8de0 100644 --- a/applications/services/power/power_service/power.c +++ b/applications/services/power/power_service/power.c @@ -338,9 +338,6 @@ Power* power_alloc() { power->settings_events_subscription = furi_pubsub_subscribe(power->settings_events, power_shutdown_time_changed_callback, power); - power->input_events_pubsub = furi_record_open(RECORD_INPUT_EVENTS); - power->input_events_subscription = NULL; - // State initialization power->state = PowerStateNotCharging; power->battery_low = false;