File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ STATIC bool run_code_py(safe_mode_t safe_mode, bool *simulate_reset) {
425
425
};
426
426
#endif
427
427
428
- volatile supervisor_allocation * pystack = NULL ;
428
+ supervisor_allocation * pystack = ( supervisor_allocation * ) 1 ;
429
429
#if MICROPY_ENABLE_PYSTACK
430
430
pystack = allocate_pystack ();
431
431
#endif
@@ -774,7 +774,7 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
774
774
775
775
// Do USB setup even if boot.py is not run.
776
776
777
- volatile supervisor_allocation * pystack = NULL ;
777
+ supervisor_allocation * pystack = ( supervisor_allocation * ) 1 ;
778
778
#if MICROPY_ENABLE_PYSTACK
779
779
pystack = allocate_pystack ();
780
780
#endif
@@ -880,7 +880,7 @@ STATIC int run_repl(void) {
880
880
int exit_code = PYEXEC_FORCED_EXIT ;
881
881
stack_resize ();
882
882
filesystem_flush ();
883
- volatile supervisor_allocation * pystack = NULL ;
883
+ supervisor_allocation * pystack = ( supervisor_allocation * ) 1 ;
884
884
#if MICROPY_ENABLE_PYSTACK
885
885
pystack = allocate_pystack ();
886
886
#endif
You can’t perform that action at this time.
0 commit comments