Skip to content

Commit

Permalink
update:更新说明
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed May 8, 2024
1 parent 639e77c commit 73fdec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luat/modules/luat_lib_mcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int l_mcu_unique_id(lua_State* L) {
}

/*
获取启动后的tick数,注意会出现溢出会出现负数
获取启动后的tick数,本身是无符号值,范围0~0xffffffff,lua是有符号计算,计算时超过0x7fffffff会变负数
@api mcu.ticks()
@return int 当前tick值
@usage
Expand Down

0 comments on commit 73fdec8

Please sign in to comment.