Skip to content

Commit

Permalink
Fix FW build & warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AEFeinstein committed Oct 21, 2024
1 parent 56cbb80 commit 9336ed0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main/modes/games/ultimateTTT/ultimateTTTcpuPlayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,9 @@ static rowCount_t checkDiag(const tttPlayer_t game[3][3], int n, tttPlayer_t pla
// - You have to think about not just how that move advances, but also how many moves away from winning we are
static uint16_t movesToWin(const tttPlayer_t subgame[3][3], tttPlayer_t player)
{
uint16_t movesToWin = 0;
tttPlayer_t result = tttCheckWinner(subgame);
/* uint16_t movesToWin = 0;
tttPlayer_t result = */
tttCheckWinner(subgame);
tttPlayer_t simulation[3][3];

memcpy(simulation, subgame, sizeof(simulation));
Expand Down
4 changes: 4 additions & 0 deletions main/modes/music/sequencer/sequencerGrid.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ static void moveCursor(sequencerVars_t* sv, buttonBit_t direction)
}
break;
}
default:
{
break;
}
}
}

Expand Down

0 comments on commit 9336ed0

Please sign in to comment.