summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/cc3k/evnt_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/cc3k/evnt_handler.c')
-rw-r--r--stmhal/cc3k/evnt_handler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/cc3k/evnt_handler.c b/stmhal/cc3k/evnt_handler.c
index 5a75fadcc0..cca2e796d7 100644
--- a/stmhal/cc3k/evnt_handler.c
+++ b/stmhal/cc3k/evnt_handler.c
@@ -52,6 +52,9 @@
//******************************************************************************
#include <stdint.h>
+#include "mpconfigport.h"
+
+#if MICROPY_HW_ENABLE_CC3K
#include "cc3000_common.h"
#include "string.h"
@@ -871,3 +874,5 @@ SimpleLinkWaitData(unsigned char *pBuf, unsigned char *from,
//! @}
//
//*****************************************************************************
+
+#endif // MICROPY_HW_ENABLE_CC3K