diff options
| author | Paul Sokolovsky | 2014-05-06 02:27:29 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-05-06 02:28:49 +0300 |
| commit | 33b3a6905d30157efa8393893fd11a5104834354 (patch) | |
| tree | 8cfa43b414029a50fca161b20b3271ebcac997cf /stmhal/gccollect.c | |
| parent | f9e54e0ea53c774c4458c4af11764e5b929a2b33 (diff) | |
stmhal: pyb: Use gc() function as defined by standard module "gc".
TODO: Get rid of this compatibility define and rely on standard module.
Diffstat (limited to 'stmhal/gccollect.c')
| -rw-r--r-- | stmhal/gccollect.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/stmhal/gccollect.c b/stmhal/gccollect.c index 81405da09..79082e2f2 100644 --- a/stmhal/gccollect.c +++ b/stmhal/gccollect.c @@ -72,10 +72,3 @@ void gc_collect(void) { printf(" 1=" UINT_FMT " 2=" UINT_FMT " m=" UINT_FMT "\n", info.num_1block, info.num_2block, info.max_block); } } - -static mp_obj_t pyb_gc(void) { - gc_collect(); - return mp_const_none; -} - -MP_DEFINE_CONST_FUN_OBJ_0(pyb_gc_obj, pyb_gc); |
