Skip to content

Commit 394796f

Browse files
author
andreas.larsson
committed
Added guard for DEVICE_EMAC in wifi_emac_api.cpp
1 parent 62bc686 commit 394796f

File tree

1 file changed

+2
-0
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/wifi_emac

1 file changed

+2
-0
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/wifi_emac/wifi_emac_api.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if DEVICE_EMAC
12

23
#include <stdio.h>
34
#include "cb_main.h"
@@ -325,3 +326,4 @@ void wifi_emac_init_mem(void)
325326
cbWLANTARGET_registerCallbacks((cbWLANTARGET_Callback*)&_wlanTargetCallback);
326327
}
327328

329+
#endif

0 commit comments

Comments
 (0)