modify for blynk
Fork of WIZnetInterface by
Diff: EthernetInterface.cpp
- Revision:
- 7:da6fcec0f3fe
- Parent:
- 4:4930f81bbe98
- Child:
- 20:bda61525ac71
- Child:
- 24:06e3836a627b
- Child:
- 25:48abbe1d9bab
--- 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)
{
