mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 05:48:33 +00:00
Fix some strange bug
This commit is contained in:
parent
68fed0e03d
commit
a48adfbaf7
1 changed files with 3 additions and 1 deletions
|
@ -496,7 +496,9 @@ static void heap_defense_input_callback(InputEvent* input_event, FuriMessageQueu
|
|||
static void heap_defense_timer_callback(FuriMessageQueue* event_queue) {
|
||||
furi_assert(event_queue);
|
||||
|
||||
GameEvent event = {.type = EventGameTick, .input = {0}};
|
||||
GameEvent event;
|
||||
event.type = EventGameTick;
|
||||
event.input = (InputEvent){0};
|
||||
furi_message_queue_put(event_queue, &event, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue