提交 b1b77a65 编写于 作者: M me-no-dev

WiFiClient::peek should return -1 instead of 0

Fixes: https://github.com/espressif/arduino-esp32/issues/329
上级 b879f800
......@@ -49,7 +49,7 @@ public:
int read(uint8_t *buf, size_t size);
int peek()
{
return 0;
return -1;
}
void flush();
void stop();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册