Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/bloomShell/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
#define THEME_MEDIA_EVENT_TYPE (SDL_USEREVENT + 5)
#define GAME_SWITCHER_WAKE_EVENT_TYPE (SDL_USEREVENT + 6)
#define OPERATIONS_EVENT_TYPE (SDL_USEREVENT + 7)
#define WIFI_EVENT_TYPE (SDL_USEREVENT + 8)
#define WIFI_EVENT_TYPE (SDL_USEREVENT + 2)
_Static_assert(WIFI_EVENT_TYPE < SDL_NUMEVENTS,
"Wi-Fi events must fit the SDL 1.2 user-event range");
#define MIXED_LABEL_MAX_BYTES 640

static volatile sig_atomic_t game_switcher_requested = 0;
Expand Down
3 changes: 2 additions & 1 deletion test/shell/bloom_shell_settings.bats
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@
grep -F 'bloom_shell_wifi_controller_cancel(' "$shell"
grep -F 'bloom_shell_wifi_controller_poll(' "$shell"
grep -F 'wifi_game_switcher_pending = 1;' "$shell"
grep -F 'WIFI_EVENT_TYPE' "$shell"
grep -F '#define WIFI_EVENT_TYPE (SDL_USEREVENT + 2)' "$shell"
grep -F '_Static_assert(WIFI_EVENT_TYPE < SDL_NUMEVENTS,' "$shell"
grep -F 'wifi_focus.selected == 0' "$shell"
grep -F 'BLOOM_SHELL_WIFI_CONTROLLER_COMPLETE' "$shell"
grep -F 'draw_wifi_profile_form(' "$shell"
Expand Down
Loading