Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
Two asserts for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
v1993 committed Feb 1, 2018
1 parent 93ca1a9 commit c0da6a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions soundProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c0da6a2

Please sign in to comment.