Skip to content

Commit

Permalink
fix: mcu.hz()的实例里,变量名错了
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed May 17, 2023
1 parent b6ed991 commit 3cb04e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luat/modules/luat_lib_mcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ static int l_mcu_ticks(lua_State* L) {
/*
获取每秒的tick数量
@api mcu.hz()
@return int 每秒的tick数量
@return int 每秒的tick数量,通常为1000
@usage
local tick = mcu.hz()
local hz = mcu.hz()
print("mcu.hz", hz)
*/
static int l_mcu_hz(lua_State* L) {
Expand Down

0 comments on commit 3cb04e8

Please sign in to comment.