Skip to content

Commit

Permalink
del:去掉无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozingfiretruck committed Apr 12, 2023
1 parent dee6406 commit a09c9bf
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions components/mobile/luat_lib_mobile.c
Expand Up @@ -454,22 +454,6 @@ static int l_mobile_enbid(lua_State* L) {
return 1;
}

/**
获取cellid
@api mobile.cellid()
@return int 当前cellid值,若失败返回-1
*/
static int l_mobile_cellid(lua_State* L) {
uint32_t cei;
if (luat_mobile_get_service_cei(&cei) == 0) {
lua_pushinteger(L, cei);
}
else {
lua_pushinteger(L, -1);
}
return 1;
}

/**
进出飞行模式
@api mobile.flymode(index, enable)
Expand Down

0 comments on commit a09c9bf

Please sign in to comment.