Question
STMCube IDE problems with Queues
Im creating an RTOS queue in the configuration tool. Whowever if I try to place anything in the queue the program crashes.
Configuration:

Generated Initialization


Place item in queue (btn.dec is a uint8_t variable)

Debug

As you can see the item size is wrong, although the two queues are created equal.
What could cause this?