Skip to content

Commit 1e2850d

Browse files
nordicjmjgl-meta
authored andcommitted
mgmt: mcumgr: transport: udp: Fix non-automatic start
Fixes a stray ifdef which causes a build failure if the automatic UDP start Kconfig is not enabled. Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 8de70bc)
1 parent 687f539 commit 1e2850d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

subsys/mgmt/mcumgr/transport/src/smp_udp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ static struct configs configs = {
8787
#endif
8888
};
8989

90-
#ifdef CONFIG_MCUMGR_TRANSPORT_UDP_AUTOMATIC_INIT
9190
static struct net_mgmt_event_callback smp_udp_mgmt_cb;
92-
#endif
9391

9492
static const char *smp_udp_proto_to_name(enum proto_type proto)
9593
{

0 commit comments

Comments
 (0)