Skip to content

Commit

Permalink
Fix subghz.h
Browse files Browse the repository at this point in the history
Correct a silly error I oversaw in my previous merge
Teehee
Oopsie Daisy
  • Loading branch information
BeanGirlThing committed Jul 7, 2024
1 parent 8c01df4 commit b7ce533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bomber_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static bool handle_game_direction(BomberAppState* state, InputEvent input) {
player->x = newPoint.x;
player->y = newPoint.y;

tx_new_position(player, state);
tx_new_position(state, player);

return true;
}
Expand Down
2 changes: 1 addition & 1 deletion subghz.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#define MESSAGE_COMPLETION_TIMEOUT 500

void tx_new_position(Player* player, BomberAppState* state);
void tx_new_position(BomberAppState* state, Player* player);
void tx_bomb_placement(BomberAppState* state, uint8_t x, uint8_t y);
void tx_death(BomberAppState* state);
void subghz_check_incoming(BomberAppState* state);
Expand Down

0 comments on commit b7ce533

Please sign in to comment.