// JumpBirdGameInputQueue.h #ifndef JUMP_BIRD_GAME_INPUT_QUEUE_H #define JUMP_BIRD_GAME_INPUT_QUEUE_H #include "freertos/queue.h" // Required for QueueHandle_t // External declaration of the game input queue. // The actual queue handle will be defined (created) in app_main.c // and accessed by other modules that need to send/receive jump signals. extern QueueHandle_t xJumpBirdGameInputQueue; // Renamed from xGameInputQueue /** * @brief Initializes and creates the FreeRTOS queue for Jump Bird game input. * * This function should be called once during application startup. * It creates a queue of size 1 to hold boolean jump signals. * * @return The handle to the created queue, or NULL if creation failed. */ QueueHandle_t jump_bird_game_input_queue_init(void); #endif // JUMP_BIRD_GAME_INPUT_QUEUE_H