diff --git a/soundProvider.cpp b/soundProvider.cpp index c4a89b9..90ae31b 100644 --- a/soundProvider.cpp +++ b/soundProvider.cpp @@ -2,7 +2,9 @@ SoundProvider::SoundProvider() { queue = xQueueCreate(CONFIG_SND_PROVIDER_MAIN_QUEUE_SIZE, sizeof(SoundData)); + assert(queue != NULL); controlQueue = xQueueCreate(CONFIG_SND_PROVIDER_CONTROL_QUEUE_SIZE, sizeof(SoundProviderControl_t)); + assert(controlQueue != NULL); } SoundProvider::~SoundProvider() {