Skip to content

Commit

Permalink
fixed condition in menu utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Nejezchleb committed May 5, 2021
1 parent a118a44 commit e25d367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu_utilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void run_init_game_menu(fb_data *frame_buff, unsigned char *lcd_mem_base,
draw_menu(frame_buff, font, game);
lcd_from_fb(frame_buff, lcd_mem_base);
}
if (read != 't' || read != 'T')
if (read != 't' && read != 'T')
{
// run game
int game_score = run_game(&game, &peripherals);
Expand Down

0 comments on commit e25d367

Please sign in to comment.