summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/cc3k/wlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/cc3k/wlan.c')
-rw-r--r--stmhal/cc3k/wlan.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/cc3k/wlan.c b/stmhal/cc3k/wlan.c
index be6b3242ce..b22796a7c8 100644
--- a/stmhal/cc3k/wlan.c
+++ b/stmhal/cc3k/wlan.c
@@ -49,6 +49,9 @@
//*****************************************************************************
#include <stdlib.h>
#include <stdint.h>
+#include "mpconfigport.h"
+
+#if MICROPY_HW_ENABLE_CC3K
#include "wlan.h"
#include "hci.h"
@@ -1262,3 +1265,5 @@ wlan_smart_config_process()
//! @}
//
//*****************************************************************************
+
+#endif // MICROPY_HW_ENABLE_CC3K