Create5500 EnableDNS

This commit is contained in:
WangQiang 2016-06-14 03:26:16 +00:00
parent 0fddd1066f
commit 06f3653fb3
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ ISocketHost* AP0801::Create5500()
auto net = new W5500();
net->LoadConfig();
net->Init(spi, PE1, PD13);
net->Wireless = 0; // 不是无线
net->EnableDNS();
if(EthernetLed) net->Led = CreateFlushPort(EthernetLed);