From d862a7b811f095b3e67fb7dbf66d532a4498aa18 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 28 Jun 2016 11:26:43 +0100 Subject: [PATCH] cc3200: Remove obsolete singleton heart-beat object. --- cc3200/misc/mperror.c | 4 ---- cc3200/misc/mperror.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/cc3200/misc/mperror.c b/cc3200/misc/mperror.c index 5561b03056..81b853b482 100644 --- a/cc3200/misc/mperror.c +++ b/cc3200/misc/mperror.c @@ -63,10 +63,6 @@ /****************************************************************************** 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; uint32_t on_time; diff --git a/cc3200/misc/mperror.h b/cc3200/misc/mperror.h index 44c77909c3..e38d129db0 100644 --- a/cc3200/misc/mperror.h +++ b/cc3200/misc/mperror.h @@ -28,10 +28,6 @@ #ifndef MPERROR_H_ #define MPERROR_H_ -#ifndef BOOTLOADER -extern const mp_obj_type_t pyb_heartbeat_type; -#endif - extern void NORETURN __fatal_error(const char *msg); void mperror_init0 (void);