Skip to content

Commit b2d862b

Browse files
committed
fix example ArrayQueue.ino
1 parent 2dd0a14 commit b2d862b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ArrayQueue/ArrayQueue.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void setup() {
3131
* https://www.freertos.org/a00116.html
3232
*/
3333
arrayQueue=xQueueCreate(10, //Queue length
34-
sizeof(int)); //Queue item size
34+
sizeof(pinReadArray)); //Queue item size
3535
if(arrayQueue!=NULL){
3636

3737
// Create task that consumes the queue if it was created.

0 commit comments

Comments
 (0)