We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b2f6fc commit 8beaa0eCopy full SHA for 8beaa0e
libraries/SoftwareSerial/src/SoftwareSerial.cpp
@@ -482,5 +482,5 @@ int SoftwareSerial::peek()
482
return -1;
483
484
// Read from "head"
485
- return _receive_buffer[_receive_buffer_head];
+ return (uint8_t)_receive_buffer[_receive_buffer_head];
486
}
0 commit comments