mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-07 16:23:38 +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;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
char peek()
|
int peek()
|
||||||
{
|
{
|
||||||
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
|
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user