aboutsummaryrefslogtreecommitdiff
path: root/stmhal/help.c
diff options
context:
space:
mode:
authorDamien George2014-08-24 16:28:17 +0100
committerDamien George2014-08-24 16:28:17 +0100
commit3c658a4e755a75e495303957208486e583ddb270 (patch)
tree6418fea9bf3dcf4aed2145db94fda4c0de1d0321 /stmhal/help.c
parent25fc41dd316c38df3e2a6cfe4b53322d76dc92fc (diff)
py: Fix bug where GC collected native/viper/asm function data.
Because (for Thumb) a function pointer has the LSB set, pointers to dynamic functions in RAM (eg native, viper or asm functions) were not being traced by the GC. This patch is a comprehensive fix for this. Addresses issue #820.
Diffstat (limited to 'stmhal/help.c')
-rw-r--r--stmhal/help.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/help.c b/stmhal/help.c
index 598b6f4e3..fe143441d 100644
--- a/stmhal/help.c
+++ b/stmhal/help.c
@@ -119,5 +119,4 @@ STATIC mp_obj_t pyb_help(uint n_args, const mp_obj_t *args) {
return mp_const_none;
}
-
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_builtin_help_obj, 0, 1, pyb_help);