lib: introduce constant MAX_TICKS
Currently the maximum number of tick is duplicated in two places. This commit introduces a constant that both can use.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
lib