WIZnetInterface using namespace

Dependents:   DualNetworkInterface-Basic

Fork of WIZnetInterface by WIZnet

Revision:
7:da6fcec0f3fe
Parent:
4:4930f81bbe98
Child:
20:3e61863c1f67
diff -r 94a81e80c675 -r da6fcec0f3fe EthernetInterface.cpp
--- a/EthernetInterface.cpp	Mon Jun 15 22:44:54 2015 +0900
+++ b/EthernetInterface.cpp	Mon Jun 15 23:43:56 2015 +0000
@@ -18,6 +18,8 @@
 
 #include "EthernetInterface.h"
 #include "DHCPClient.h"
+
+#if not defined(TARGET_WIZwiki_W7500)
 EthernetInterface::EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset) :
         WIZnet_Chip(mosi, miso, sclk, cs, reset)
 {
@@ -29,7 +31,7 @@
 {
     ip_set = false;
 }
-
+#endif
 
 int EthernetInterface::init(uint8_t * mac)
 {