From 4be44014abd5804e3cd8f810b67ad5555af47f13 Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Thu, 26 Mar 2015 13:51:37 +0100 Subject: cc3200: Reenable active interrupts when waking from suspended mode. --- cc3200/misc/mpcallback.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cc3200/misc/mpcallback.h') diff --git a/cc3200/misc/mpcallback.h b/cc3200/misc/mpcallback.h index cadc73bad..743d73fe1 100644 --- a/cc3200/misc/mpcallback.h +++ b/cc3200/misc/mpcallback.h @@ -49,6 +49,7 @@ typedef struct { mp_obj_t parent; mp_obj_t handler; mp_cb_methods_t *methods; + bool isenabled; } mpcallback_obj_t; /****************************************************************************** @@ -63,6 +64,7 @@ extern const mp_obj_type_t pyb_callback_type; void mpcallback_init0 (void); mp_obj_t mpcallback_new (mp_obj_t parent, mp_obj_t handler, const mp_cb_methods_t *methods); mpcallback_obj_t *mpcallback_find (mp_obj_t parent); +void mpcallback_wake_all (void); void mpcallback_remove (const mp_obj_t parent); void mpcallback_handler (mp_obj_t self_in); uint mpcallback_translate_priority (uint priority); -- cgit v1.2.3