Skip to content

Commit

Permalink
fixing firmware build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasrenman committed Jun 30, 2024
1 parent c000f66 commit 3b9cef0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/input_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,10 @@ void input_device_init() {
}
}
app_state_push(APP_STATE_MAINMENU);
#endif
#else
if (SDL_Init(SDL_INIT_VIDEO) != 0) {
printf("Error initializing SDL: %s\n", SDL_GetError());
}
#endif
pthread_create(&input_device_pid, NULL, thread_input_device, NULL);
}

0 comments on commit 3b9cef0

Please sign in to comment.