瀏覽代碼

update: 云编译启用shell就自动禁用repl

Wendal Chen 2 年之前
父節點
當前提交
0a774f15ce
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      application/include/luat_conf_bsp.h

+ 4 - 0
application/include/luat_conf_bsp.h

@@ -288,4 +288,8 @@ extern unsigned int gLVFlashTime;
 // 单纯为了生成文档的宏
 #define LUAT_USE_PIN 1
 
+#ifdef LUAT_USE_SHELL
+#undef LUAT_USE_REPL
+#endif
+
 #endif