mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-04 18:03:20 +03:00
Fix UdpContext::peek to return int (#1946)
This commit is contained in:
parent
334837533f
commit
33723a9b52
@ -213,7 +213,7 @@ public:
|
||||
return size;
|
||||
}
|
||||
|
||||
char peek()
|
||||
int peek()
|
||||
{
|
||||
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user