volatile to skip optimisation

This commit is contained in:
Bill Sideris 2023-02-16 23:37:37 +02:00
parent a37dad61fb
commit 4bb0b0acdf
No known key found for this signature in database
GPG Key ID: 1BEF1BCEBA58EA33
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -776,7 +776,7 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
// Do USB setup even if boot.py is not run.
supervisor_allocation *pystack;
volatile supervisor_allocation *pystack;
#if MICROPY_ENABLE_PYSTACK
pystack = allocate_pystack();
#else