mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Properly read butthurt timer setting
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user