Skip to content

Commit 2399b4e

Browse files
committed
cc3200/mptask: Replace mp_stack_set_top with mp_cstack_init_with_top.
Signed-off-by: Damien George <[email protected]>
1 parent 76efdfa commit 2399b4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ports/cc3200/mptask.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <stdint.h>
2929

3030
#include "py/mpconfig.h"
31-
#include "py/stackctrl.h"
3231
#include "py/obj.h"
3332
#include "py/runtime.h"
3433
#include "py/gc.h"
@@ -131,7 +130,7 @@ void TASK_MicroPython(void *pvParameters) {
131130
#endif
132131

133132
// initialise the stack pointer for the main thread (must be done after mp_thread_init)
134-
mp_stack_set_top((void *)sp);
133+
mp_cstack_init_with_top((void *)sp, 0);
135134

136135
// GC init
137136
gc_init(&_boot, &_eheap);

0 commit comments

Comments
 (0)