summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-06-09 17:39:48 +0200
committerDaniel Campora <daniel@wipy.io>2015-06-10 23:35:36 +0200
commitf960d753e4dd3fd7527054a5edacdf398490c9b6 (patch)
tree44729e33b77be0f81bf306b37c63b174dc7d8ef4
parent3319780e960f5a7cba6d10b58fe53f7117402123 (diff)
downloadmicropython-f960d753e4dd3fd7527054a5edacdf398490c9b6.tar.gz
micropython-f960d753e4dd3fd7527054a5edacdf398490c9b6.zip
cc3200: Fix bootloader build error.
-rw-r--r--cc3200/misc/mperror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc3200/misc/mperror.c b/cc3200/misc/mperror.c
index 46520361f2..cf2a1c8c1e 100644
--- a/cc3200/misc/mperror.c
+++ b/cc3200/misc/mperror.c
@@ -64,7 +64,9 @@
/******************************************************************************
DECLARE PRIVATE DATA
******************************************************************************/
+#ifndef BOOTLOADER
STATIC const mp_obj_base_t pyb_heartbeat_obj = {&pyb_heartbeat_type};
+#endif
struct mperror_heart_beat {
uint32_t off_time;