mirror of
https://github.com/micropython/micropython.git
synced 2025-12-13 08:20:13 +01:00
cc3200/mptask: Replace mp_stack_set_top with mp_cstack_init_with_top.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "py/mpconfig.h"
|
||||
#include "py/stackctrl.h"
|
||||
#include "py/obj.h"
|
||||
#include "py/runtime.h"
|
||||
#include "py/gc.h"
|
||||
@@ -131,7 +130,7 @@ soft_reset:
|
||||
#endif
|
||||
|
||||
// initialise the stack pointer for the main thread (must be done after mp_thread_init)
|
||||
mp_stack_set_top((void *)sp);
|
||||
mp_cstack_init_with_top((void *)sp, 0);
|
||||
|
||||
// GC init
|
||||
gc_init(&_boot, &_eheap);
|
||||
|
||||
Reference in New Issue
Block a user