Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: core/net/NyLPC_cNet.c
- Revision:
- 50:35e765380772
- Parent:
- 37:fc4b4fd6a649
- Child:
- 69:8c5f220441f5
--- a/core/net/NyLPC_cNet.c Wed Aug 07 16:43:32 2013 +0000 +++ b/core/net/NyLPC_cNet.c Thu Aug 08 15:21:43 2013 +0000 @@ -25,6 +25,7 @@ *********************************************************************************/ #include "NyLPC_cNet.h" #include "dhcp/NyLPC_cDhcpClient.h" +#include "../uip/NyLPC_cUipService_protected.h" const char* NyLPC_cNet_PlatformName; @@ -35,7 +36,9 @@ void NyLPC_cNet_initialize(NyLPC_TcNet_t* i_inst) { //uipサービス初期化。いろいろ利用可能に。 - NyLPC_cUipService_initialize(); + if(!NyLPC_TcUipService_isInitService()){ + NyLPC_cUipService_initialize(); + } } void NyLPC_cNet_start(NyLPC_TcNet_t* i_inst,const NyLPC_TcNetConfig_t* i_ref_config)