We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e11124e commit 721059fCopy full SHA for 721059f
1 file changed
examples/LibTst/LibTst.ino
@@ -1,12 +1,12 @@
1
/*
2
Lib Test
3
-
+
4
LIFO / FIFO implementations can be tested by changing IMPLEMENTATION
5
6
This example code is in the public domain.
7
8
created 22 March 2017
9
- modified 14 March 2018
+ modified 22 March 2018
10
by SMFSW
11
*/
12
@@ -60,7 +60,7 @@ void loop() {
60
Serial.print("Full?: ");
61
Serial.print(q.isFull());
62
Serial.print(" Nb left: ");
63
- Serial.println(q.nbRecs());
+ Serial.println(q.getCount());
64
for (i = 0 ; i < NB_PULL+1 ; i++)
65
{
66
Rec rec = {0xffff,0xffff};
@@ -74,7 +74,7 @@ void loop() {
74
Serial.print("Empty?: ");
75
Serial.print(q.isEmpty());
76
77
78
79
while(1);
80
}
0 commit comments