Skip to content

Commit 9243c7e

Browse files
authored
Merge pull request #121 from SummerGGift/904_main
【需改】开机自启动的 main 文件路径修改为 /main.py
2 parents 3fa701d + 1bbe51e commit 9243c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

port/mpconfigport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ typedef long mp_off_t;
330330
#define MICROPY_HW_MCU_NAME "RT-Thread"
331331
#define MICROPY_PY_PATH_FIRST "/libs/mpy/"
332332
#define MICROPY_PY_PATH_SECOND "/scripts/"
333-
#define MICROPY_MAIN_PY_PATH "/scripts/main.py"
333+
#define MICROPY_MAIN_PY_PATH "/main.py"
334334

335335
#define MICROPY_BEGIN_ATOMIC_SECTION() rt_hw_interrupt_disable()
336336
#define MICROPY_END_ATOMIC_SECTION(state) rt_hw_interrupt_enable(state)

0 commit comments

Comments
 (0)