diff --git a/bomber_loop.c b/bomber_loop.c index 242bb0e3fdc..a772804c806 100644 --- a/bomber_loop.c +++ b/bomber_loop.c @@ -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; } diff --git a/subghz.h b/subghz.h index 044877c1632..5b3f1dbe49b 100644 --- a/subghz.h +++ b/subghz.h @@ -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);