We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3511e5 commit 32a7446Copy full SHA for 32a7446
libraries/ESP32/examples/Serial/InterruptQueue/InterruptQueue.ino
@@ -44,7 +44,7 @@ void loop()
44
}
45
46
// Check if data in the queue and check if there is a complete message (8-bytes) in the queue
47
- if(!(uxQueueMessagesWaiting(bufferQueue) % RESPONSE_SIZE)){
+ if(!(uxQueueMessagesWaiting(bufferQueue) % BUFFER_SIZE)){
48
char c;
49
// Check if the queue is not empty, 0 % 8 returns 0 instead, so does 24 % 8
50
while(uxQueueMessagesWaiting(bufferQueue) > 0){
0 commit comments