mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 09:07:47 +00:00
[otns] allow build without JOINER=1 (#5120)
This commit is contained in:
@@ -103,10 +103,12 @@ void Otns::HandleNotifierEvents(Events aEvents)
|
||||
EmitStatus("parid=%x", Get<Mle::Mle>().GetLeaderData().GetPartitionId());
|
||||
}
|
||||
|
||||
#if OPENTHREAD_CONFIG_JOINER_ENABLE
|
||||
if (aEvents.Contains(kEventJoinerStateChanged))
|
||||
{
|
||||
EmitStatus("joiner_state=%d", Get<MeshCoP::Joiner>().GetState());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void Otns::EmitNeighborChange(otNeighborTableEvent aEvent, Neighbor &aNeighbor)
|
||||
|
||||
Reference in New Issue
Block a user