Skip to content

Commit 25655af

Browse files
committed
Updated to API 72.1
1 parent 8f7c749 commit 25655af

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

solitaire.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,15 @@ void init_start(GameState *game_state) {
434434
}
435435

436436

437-
static void input_callback(InputEvent *input_event, FuriMessageQueue *event_queue) {
437+
static void input_callback(InputEvent *input_event, void* ctx) {
438+
FuriMessageQueue* event_queue = ctx;
438439
furi_assert(event_queue);
439440
AppEvent event = {.type = EventTypeKey, .input = *input_event};
440441
furi_message_queue_put(event_queue, &event, FuriWaitForever);
441442
}
442443

443-
static void update_timer_callback(FuriMessageQueue *event_queue) {
444+
static void update_timer_callback(void* ctx) {
445+
FuriMessageQueue* event_queue = ctx;
444446
furi_assert(event_queue);
445447
AppEvent event = {.type = EventTypeTick};
446448
furi_message_queue_put(event_queue, &event, 0);

0 commit comments

Comments
 (0)