mirror of https://github.com/ARMmbed/mbed-os.git
Fix LoWPANInterface to provide ::get_target_default()
LoWPANInterface should provide target default, instead of default.pull/7778/head
parent
7e23c229a3
commit
488632bc79
|
@ -163,7 +163,7 @@ bool LoWPANNDInterface::getRouterIpAddress(char *address, int8_t len)
|
|||
|
||||
#define LOWPAN 0x2345
|
||||
#if MBED_CONF_NSAPI_DEFAULT_MESH_TYPE == LOWPAN && DEVICE_802_15_4_PHY
|
||||
MBED_WEAK MeshInterface *MeshInterface::get_default_instance()
|
||||
MBED_WEAK MeshInterface *MeshInterface::get_target_default_instance()
|
||||
{
|
||||
static LoWPANNDInterface lowpan(&NanostackRfPhy::get_default_instance());
|
||||
|
||||
|
|
Loading…
Reference in New Issue