浏览代码

add:添加ftp启用条件

Dozingfiretruck 3 年之前
父节点
当前提交
9b7ef459e0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      application/src/luat_base_air105.c

+ 2 - 0
application/src/luat_base_air105.c

@@ -214,8 +214,10 @@ static const luaL_Reg loadedlibs[] = {
   {"socket", luaopen_socket_adapter},
   {"mqtt", luaopen_mqtt},
   {"http", luaopen_http},
+#ifdef LUAT_USE_FTP
   {"ftp", luaopen_ftp},
 #endif
+#endif
 // #ifdef LUAT_USE_FOTA
   {"fota", luaopen_fota},
 // #endif