Skip to content

Commit 01ee7d2

Browse files
committed
test-queue add QueueRTOS
1 parent a6ff22f commit 01ee7d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/tests/basic/test-queue/test-queue.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "AudioTools.h"
22
#include "Concurrency/QueueLockFree.h"
3+
#include "Concurrency/QueueRTOS.h"
34

45
// test different queue implementations:
56

@@ -34,6 +35,10 @@ void setup() {
3435

3536
QueueLockFree<int> q3(10);
3637
test<QueueLockFree<int>>(q3,"QueueLockFree");
38+
39+
QueueRTOS<int> q4(10);
40+
test<QueueRTOS<int>>(q4,"QueueRTOS");
41+
3742
Serial.println("all tests passed");
3843
}
3944

0 commit comments

Comments
 (0)