File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments