Skip to content

Commit 116b2ae

Browse files
authored
Update clock.c
修改
1 parent 414c189 commit 116b2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ RTM_EXPORT(rt_tick_get);
8686
if (tnow >= last_time) {
8787
return (tnow - last_time);
8888
} else {
89-
return (UINT32_MAX - last_time + tnow + 1);
89+
return (RT_TICK_MAX - last_time + tnow + 1);
9090
}
9191
}
9292
RTM_EXPORT(rt_delta_tick_get);

0 commit comments

Comments
 (0)