Skip to content
Discussion options

You must be logged in to vote

Just put these two lines at line 175:

        pyexec_frozen_module("app.py", false);
        goto soft_reset_exit;

before:

        // Execute user scripts.
        int ret = pyexec_file_if_exists("boot.py");
        if (ret & PYEXEC_FORCED_EXIT) {
            goto soft_reset_exit;
        }

in your main.c

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@shariltumin
Comment options

@ZacharyInDallas
Comment options

@ZacharyInDallas
Comment options

@shariltumin
Comment options

Answer selected by ZacharyInDallas
@ZacharyInDallas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants