WIZnetInterface using namespace

Dependents:   DualNetworkInterface-Basic

Fork of WIZnetInterface by WIZnet

Revision:
20:3e61863c1f67
Parent:
7:da6fcec0f3fe
diff -r d8773cd4edc5 -r 3e61863c1f67 EthernetInterface.cpp
--- a/EthernetInterface.cpp	Wed Jul 01 04:02:50 2015 +0000
+++ b/EthernetInterface.cpp	Tue Jul 14 10:16:16 2015 +0000
@@ -16,8 +16,10 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "EthernetInterface.h"
-#include "DHCPClient.h"
+#include "EthernetInterface.hpp"
+#include "DHCPClient.hpp"
+
+using namespace wiznet_space;
 
 #if not defined(TARGET_WIZwiki_W7500)
 EthernetInterface::EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset) :
@@ -40,7 +42,7 @@
     for (int i =0; i < 6; i++) this->mac[i] = mac[i];
     //
     reset();
-	
+    
     return 0;
 }