From d4eef8e3f860566515386dce796ce3eb9282bed3 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 2 May 2023 22:55:06 +0100 Subject: [PATCH] Properly read butthurt timer setting --- applications/services/dolphin/dolphin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/services/dolphin/dolphin.c b/applications/services/dolphin/dolphin.c index 5e5ff07d3..145224542 100644 --- a/applications/services/dolphin/dolphin.c +++ b/applications/services/dolphin/dolphin.c @@ -80,7 +80,7 @@ Dolphin* dolphin_alloc() { dolphin->state = dolphin_state_alloc(); dolphin->event_queue = furi_message_queue_alloc(8, sizeof(DolphinEvent)); dolphin->pubsub = furi_pubsub_alloc(); - int32_t butthurt = XTREME_SETTINGS()->butthurt_timer; + int32_t butthurt = XTREME_SETTINGS_WAIT()->butthurt_timer; dolphin->butthurt_timer = xTimerCreate( NULL, (butthurt > 0) ? (butthurt * 1000) : -1,