Skip to content

Commit 8dcb628

Browse files
committed
remove:多余api
1 parent dee6406 commit 8dcb628

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

components/mobile/luat_lib_mobile.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -454,22 +454,6 @@ static int l_mobile_enbid(lua_State* L) {
454454
return 1;
455455
}
456456

457-
/**
458-
获取cellid
459-
@api mobile.cellid()
460-
@return int 当前cellid值,若失败返回-1
461-
*/
462-
static int l_mobile_cellid(lua_State* L) {
463-
uint32_t cei;
464-
if (luat_mobile_get_service_cei(&cei) == 0) {
465-
lua_pushinteger(L, cei);
466-
}
467-
else {
468-
lua_pushinteger(L, -1);
469-
}
470-
return 1;
471-
}
472-
473457
/**
474458
进出飞行模式
475459
@api mobile.flymode(index, enable)

0 commit comments

Comments
 (0)