浏览代码

remove: rtc,移除rtc.setBaseYear函数的描述

Wendal Chen 5 月之前
父节点
当前提交
a57d253f4e
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      luat/modules/luat_lib_rtc.c

+ 0 - 8
luat/modules/luat_lib_rtc.c

@@ -272,14 +272,6 @@ static int l_rtc_timer_stop(lua_State *L){
     return 1;
 }
 
-/*
-设置RTC基准年,不推荐
-@api rtc.setBaseYear(Base_year)
-@int 基准年Base_year,通常1900
-@usage
--- 本函数已经废弃, 不要使用
-rtc.setBaseYear(1900)
-*/
 static int l_rtc_set_base_year(lua_State *L){
     Base_year = luaL_checkinteger(L, 1);
     return 0;