platformio
This commit is contained in:
@@ -32,6 +32,7 @@ void DhcpClass::reset_DHCP_lease()
|
||||
memset(_dhcpDhcpServerIp, 0, sizeof(_dhcpDhcpServerIp));
|
||||
memset(_dhcpDnsServerIp, 0, sizeof(_dhcpDnsServerIp));
|
||||
}
|
||||
|
||||
//return:0 on error, 1 if request is sent and response is received
|
||||
int DhcpClass::request_DHCP_lease()
|
||||
{
|
||||
@@ -433,4 +434,4 @@ void DhcpClass::printByte(char * buf, uint8_t n )
|
||||
char c = m - 16 * n;
|
||||
*str-- = c < 10 ? c + '0' : c + 'A' - 10;
|
||||
} while(n);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user