Просмотр исходного кода

Merge branch 'master' of https://gitee.com/openLuat/LuatOS

alienwalker 1 год назад
Родитель
Сommit
baa48301d5
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      components/eink/luat_lib_eink.c
  2. 1 1
      script/libs/iotcloud.lua

+ 1 - 1
components/eink/luat_lib_eink.c

@@ -69,7 +69,7 @@ static int l_eink_init(lua_State* L) {
         econf.port = LUAT_EINK_SPI_DEVICE;
     }
     if (econf.async){
-      luat_rtos_task_create(&econf.eink_task_handle, 512, 50, "eink", EPD_Task, NULL, 0);
+      luat_rtos_task_create(&econf.eink_task_handle, 1024, 50, "eink", EPD_Task, NULL, 0);
       luat_rtos_queue_create(&econf.eink_queue_handle, 5, sizeof(uint8_t));
     }
     EPD_Model(luaL_checkinteger(L, 1));

+ 1 - 1
script/libs/iotcloud.lua

@@ -441,7 +441,7 @@ local function iotcloud_onenet_config(iotcloudc,iot_config,connect_config)
         end
         local data = fskv.get("iotcloud_onenet")
         -- print("fskv.get data",data)
-        iotcloudc.client_id,iotcloudc.user_name,iotcloudc.password = iotauth.iotda(iotcloudc.product_id,iotcloudc.device_name,data)
+        iotcloudc.client_id,iotcloudc.user_name,iotcloudc.password = iotauth.onenet(iotcloudc.product_id,iotcloudc.device_name,data)
     end
     return true
 end