1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Making Print::write(char *) non-virtual on WiFi lib

This commit is contained in:
mlafauci
2011-09-13 21:48:09 +02:00
parent 00b945d869
commit 20bea5fcc0
4 changed files with 0 additions and 18 deletions

View File

@ -61,17 +61,6 @@ size_t WiFiClient::write(uint8_t b) {
return 0;
}
size_t WiFiClient::write(const char *str) {
if (_sock != 255)
{
unsigned int len = strlen(str);
ServerDrv::sendData(_sock, (const uint8_t *)str, len);
while (!ServerDrv::isDataSent(_sock));
return len;
}
return 0;
}
size_t WiFiClient::write(const uint8_t *buf, size_t size) {
if (_sock != 255)
{