1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

upd changelog

This commit is contained in:
MX
2024-12-24 14:23:07 +03:00
parent 7fc34db57b
commit 1a95757a75
2 changed files with 7 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ static void desktop_stop_auto_poweroff_timer(Desktop* desktop) {
static void desktop_auto_poweroff_arm(Desktop* desktop) {
if(desktop->settings.auto_poweroff_delay_ms) {
if(desktop->input_events_subscription) {
if(!desktop->input_events_subscription) {
desktop->input_events_subscription = furi_pubsub_subscribe(
desktop->input_events_pubsub, desktop_input_event_callback, desktop);
}