Skip to content

Commit

Permalink
fix(rpmsg): Use FIFO in rpmsg bare metal platform control queue
Browse files Browse the repository at this point in the history
Update the mpfs rpmsg bare metal platform implementation to use FIFO
instead of LIFO to match the FreeRTOS configuration.

Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com>
  • Loading branch information
vfalanis committed Dec 11, 2023
1 parent 27fce17 commit 99c5e68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ int32_t env_create_queue(void **queue, int32_t length, int32_t element_size)
return -1;
}

q_init(q, element_size, length, LIFO, false);
q_init(q, element_size, length, FIFO, false);

if (q == ((void *)0))
{
Expand Down

0 comments on commit 99c5e68

Please sign in to comment.