소스 검색

add:添加http

Dozingfiretruck 3 년 전
부모
커밋
a5ee64537d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      application/src/luat_base_air105.c

+ 2 - 1
application/src/luat_base_air105.c

@@ -206,7 +206,8 @@ static const luaL_Reg loadedlibs[] = {
   {"w5500", luaopen_w5500},
   {"socket", luaopen_socket_adapter},
   {"mqtt", luaopen_mqtt},
-  {"http2", luaopen_http},
+  {"http", luaopen_http},
+  {"http2", luaopen_http2},
 #endif
 // #ifdef LUAT_USE_FOTA
   {"fota", luaopen_fota},