mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 22:48:35 -07:00
Fix build
This commit is contained in:
@@ -206,7 +206,7 @@ static bool dolphin_process_event(FuriMessageQueue* queue, void* context) {
|
|||||||
|
|
||||||
DolphinPubsubEvent event = DolphinPubsubEventUpdate;
|
DolphinPubsubEvent event = DolphinPubsubEventUpdate;
|
||||||
furi_pubsub_publish(dolphin->pubsub, &event);
|
furi_pubsub_publish(dolphin->pubsub, &event);
|
||||||
if(BUTTHURT_INCREASE_PERIOD_TICKS) {
|
if(BUTTHURT_INCREASE_PERIOD_TICKS > 0) {
|
||||||
furi_event_loop_timer_start(dolphin->butthurt_timer, BUTTHURT_INCREASE_PERIOD_TICKS);
|
furi_event_loop_timer_start(dolphin->butthurt_timer, BUTTHURT_INCREASE_PERIOD_TICKS);
|
||||||
}
|
}
|
||||||
furi_event_loop_timer_start(dolphin->flush_timer, FLUSH_TIMEOUT_TICKS);
|
furi_event_loop_timer_start(dolphin->flush_timer, FLUSH_TIMEOUT_TICKS);
|
||||||
@@ -259,7 +259,7 @@ int32_t dolphin_srv(void* p) {
|
|||||||
dolphin_process_event,
|
dolphin_process_event,
|
||||||
dolphin);
|
dolphin);
|
||||||
|
|
||||||
if(BUTTHURT_INCREASE_PERIOD_TICKS) {
|
if(BUTTHURT_INCREASE_PERIOD_TICKS > 0) {
|
||||||
furi_event_loop_timer_start(dolphin->butthurt_timer, BUTTHURT_INCREASE_PERIOD_TICKS);
|
furi_event_loop_timer_start(dolphin->butthurt_timer, BUTTHURT_INCREASE_PERIOD_TICKS);
|
||||||
}
|
}
|
||||||
furi_event_loop_timer_start(dolphin->clear_limits_timer, CLEAR_LIMITS_PERIOD_TICKS);
|
furi_event_loop_timer_start(dolphin->clear_limits_timer, CLEAR_LIMITS_PERIOD_TICKS);
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
#include <dolphin/dolphin_i.h>
|
#include <dolphin/dolphin_i.h>
|
||||||
#include <dolphin/helpers/dolphin_state.h>
|
#include <dolphin/helpers/dolphin_state.h>
|
||||||
#include <furi.h>
|
#include <furi.h>
|
||||||
|
#include <furi_hal.h>
|
||||||
#include <m-array.h>
|
#include <m-array.h>
|
||||||
#include <momentum/momentum.h>
|
#include <momentum/momentum.h>
|
||||||
#include <m-string.h>
|
#include <m-string.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user