Skip to content

Queue assetion failure ESP-NOW video #101

Discussion options

You must be logged in to vote

payload_t * payload = (payload_t *) data;
xQueueSend(message_received_queue, &payload, 0);

You are sending a pointer to a pointer.
should be
xQueueSend(message_received_queue, payload, 0);

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mair
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants