#include "freertos/queue.hpp" struct Sample { unsigned sequence; unsigned value; }; freertos::StaticQueueStorage< Sample, 2U > storage; freertos::StaticQueue< Sample, 2U > * queue_pointer;