Added guard for DEVICE_EMAC in wifi_emac_api.cpp

pull/2977/head
andreas.larsson 2016-10-14 02:42:53 +02:00
parent 62bc6869e8
commit 394796f47e
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#if DEVICE_EMAC
#include <stdio.h>
#include "cb_main.h"
@ -325,3 +326,4 @@ void wifi_emac_init_mem(void)
cbWLANTARGET_registerCallbacks((cbWLANTARGET_Callback*)&_wlanTargetCallback);
}
#endif