Jun Furutani / libMiMic

Fork of libMiMic by Ryo Iizuka

Revision:
69:8c5f220441f5
Parent:
50:35e765380772
--- a/core/net/NyLPC_cNet.c	Thu May 22 12:59:50 2014 +0000
+++ b/core/net/NyLPC_cNet.c	Thu May 29 14:29:15 2014 +0000
@@ -28,10 +28,6 @@
 #include "../uip/NyLPC_cUipService_protected.h"
 
 
-const char* NyLPC_cNet_PlatformName;
-
-static const char* PNAME_LPCXPRESSO1769="LPCXpresso1769";
-static const char* PNAME_MBED="mbed";
 
 void NyLPC_cNet_initialize(NyLPC_TcNet_t* i_inst)
 {
@@ -44,23 +40,13 @@
 void NyLPC_cNet_start(NyLPC_TcNet_t* i_inst,const NyLPC_TcNetConfig_t* i_ref_config)
 {
     NyLPC_cUipService_start(&(i_ref_config->super));
-    //プラットフォーム名を推測(デバイス名の初めの1文字だけ見る。)
-    switch(*(NyLPC_cUipService_refDeviceName())){
-    case 'L':
-        NyLPC_cNet_PlatformName=PNAME_LPCXPRESSO1769;
-        break;
-    case 'D':
-        NyLPC_cNet_PlatformName=PNAME_MBED;
-        break;
-    default:
-        break;
-    }
     return;
 }
 
 void NyLPC_cNet_stop(NyLPC_TcNet_t* i_inst)
 {
     NyLPC_cUipService_stop();
+    return;
 }
 
 /**