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

update:函数命名有误修正

alienwalker 2 лет назад
Родитель
Сommit
548a9790c7
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      components/mobile/luat_lib_mobile.c
  2. 1 1
      components/mobile/luat_mobile.h

+ 1 - 1
components/mobile/luat_lib_mobile.c

@@ -218,7 +218,7 @@ static int l_mobile_simid(lua_State* L) {
     }
     if (LUA_TBOOLEAN == lua_type(L, 2)) {
     	if (lua_toboolean(L, 2)) {
-    		luat_mobile_set_sim_detect_sim0_fisrt();
+    		luat_mobile_set_sim_detect_sim0_first();
     	}
     }
     ret = luat_mobile_get_sim_id(&id);

+ 1 - 1
components/mobile/luat_mobile.h

@@ -143,7 +143,7 @@ uint8_t luat_mobile_get_sim_ready(int id);
  * @brief 在自动选择模式时,开机后优先用sim0
  *
  */
-void luat_mobile_set_sim_detect_sim0_fisrt(void);
+void luat_mobile_set_sim_detect_sim0_first(void);
 
 /**
  * @brief 设置默认PDN激活时是否要IPV6网络,现在默认情况下不开